[Bug c/50669] no warning for unused globals
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Oct 9 19:35:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50669
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-10-09 19:34:48 UTC ---
(In reply to comment #2)
> I could understand this for libraries. However, when linking as an executable
> binary, could the global really be still exported?
Yes. In fact this is how plugins work in GCC.
More information about the Gcc-bugs
mailing list