[PATCH] Trust TREE_ADDRESSABLE

Eric Botcazou ebotcazou@adacore.com
Mon Jun 9 09:36:00 GMT 2014


> I wonder if we want toupdate the frontends to set addressable flag with new
> sense or we want symtab to simple set addressable on all global symbols or
> invent a new flag.
> I would preffer the first case - it seems to make most sense to me.

I think you need to explain why this change is desirable/necessary for LTO, 
this would be a good starting point.  As for setting TREE_ADDRESSABLE on every 
single global symbol in every single front-end, why not, but this seems more 
complicated than treating global symbols as so by default (in non-LTO mode).

-- 
Eric Botcazou



More information about the Gcc-patches mailing list