This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/7101] attribute unused not honored on static variable preceeded by extern declaration
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Nov 2003 07:30:13 -0000
- Subject: [Bug c/7101] attribute unused not honored on static variable preceeded by extern declaration
- References: <20020621135601.7101.ghazi@caip.rutgers.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7101
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2003-08-03 18:05:31 |2003-11-05 07:30:12
date| |
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-11-05 07:30 -------
This still happens but I want to say this invalid code and should have been rejected as it
changes the scope of the variable.