This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/29390] Bogus symbol inserted into valid C++ code at low optimization level
- From: "mi at aldan dot algebra dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Oct 2006 17:15:47 -0000
- Subject: [Bug middle-end/29390] Bogus symbol inserted into valid C++ code at low optimization level
- References: <bug-29390-13336@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #14 from mi at aldan dot algebra dot com 2006-10-11 17:15 -------
Ok, the problem is triggered by the ``-march=pentium4'' flag:
c++ -O0 -g -c -fno-strict-aliasing -pipe -march=pentium4 loctest.ii
mteterin@mi:source/test/intltest (1127) nm loctest.o | grep LC
U .LC786
U _ZNK7icu_3_66Locale7getLCIDEv
vs.
c++ -O0 -g -c -fno-strict-aliasing -pipe loctest.ii
mteterin@mi:source/test/intltest (1129) nm loctest.o | grep LC
U _ZNK7icu_3_66Locale7getLCIDEv
Would this narrow the search for a fix down enough?
The problem does not exist with the gcc-3.2.3 (tested on RedHat), nor with
gcc-3.4.1 (tested on the same FreeBSD box as the originally reported 3.4.4).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29390