Hi,
Kugan Vivekanandarajah kugan.vivekanandarajah@linaro.org writes:
Even though memory usage does not increase, I understand the policy of wanting to make the data structure simple.
Another way to implement this feature is to use the `addrspace' field in `struct mem_attrs' without adding any fields. I think that this implementation may be more decent. However, since this field holds information specific to the target machine, changing this will affect many files.
I think your current approach is reasonable. It is better to discuss your alternate approach upstream. I would suggest you post your patch upstream and initiate a discussion there. Please refer to https://gcc.gnu.org/contribute.html (submitting patches part) if you already haven't.
Thank you very much for your comments and advice. I checked the URL. If there is no objection, I will consider proposing this function(and alternative appraoch) on the GCC mailing listgcc@gcc.gnu.org (after improving print strings and actual patch files).
Best regards, -- -------------------------------------- Masaki Arai