This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: refinements to definition of TREE_READONLY ?
Hi Richard,
Still looking into this issue.
Our current understanding is that our initial bug was indirectly
caused by the Ada front-end setting TREE_STATIC on a DECL_EXTERNAL
constant, which it shouldn't do.
The straightforward fix to that uncovered corner issues with the
way we set DECL_CONTEXT in some special cases.
Investigating further ...
Thanks for your constructive feedback,
Olivier