This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/50669] no warning for unused globals


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]