This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/12324] [3.4 Regression] [unti-at-a-time] not emitting function referenced from a compound statement
- 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: 25 Sep 2003 20:51:39 -0000
- Subject: [Bug optimization/12324] [3.4 Regression] [unti-at-a-time] not emitting function referenced from a compound statement
- References: <20030918042646.12324.bernie@develer.com>
- 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=12324
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-09-25 20:51 -------
GCC 3.4 for this code:
static int foo __attribute__((unused)) = 42;
is doing the right thing, you should be using the attribute used instead.