This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/29299] [4.2 Regression] gcc "used" attribute has no effect on local-scope static variables
- From: "hubicka at ucw dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Oct 2006 22:33:17 -0000
- Subject: [Bug middle-end/29299] [4.2 Regression] gcc "used" attribute has no effect on local-scope static variables
- References: <bug-29299-13334@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from hubicka at ucw dot cz 2006-10-15 22:33 -------
Subject: Re: [4.2 Regresion] gcc "used" attribute has no effect on local-scope
static variables
> Reopening because it is not fixed for non unit at a time mode (-O0 for C).
-O0 gets it right, just -O1 -fno-unit-at-a-time fails, but I am testing
patch for this already.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29299