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: "bernie at develer dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Sep 2003 21:43:46 -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 bernie at develer dot com 2003-09-25 21:43 -------
It's right, attribute((used)) makes it work, but then we have two problems:
- it used to work before and it's breaking Linux. Shall we fix it there or in GCC?
- gcc.texi says that used can only be used with functions, but it works on
variables too. Shall we correct that?