[Bug middle-end/25140] aliases, including weakref, break alias analysis

aoliva at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Nov 29 13:55:00 GMT 2005



------- Comment #4 from aoliva at gcc dot gnu dot org  2005-11-29 13:55 -------
Make it a weak alias, then.

Anyhow, the point is that the alias infrastructure in GCC is available for all
ports.  If some port limits what kinds of aliases you can use, then, well, too
bad.  But the smarts to get alias analysis to follow symbol aliases is missing
for all kinds of aliases, not only weakrefs, and the good news is that fixing
it for regular and weak aliases will fix it for weakrefs as well, unless you
try really hard to keep weakrefs broken just to make a point :-)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25140



More information about the Gcc-bugs mailing list