This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/46859] Attribute depends on location
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 9 Dec 2010 21:07:26 +0000
- Subject: [Bug c/46859] Attribute depends on location
- Auto-submitted: auto-generated
- References: <bug-46859-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46859
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> 2010-12-09 21:07:15 UTC ---
This is also why it is almost always better to put the attribute on the
declaration rather than the definition.