This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/29390] Bogus symbol inserted into valid C++ code at low optimization level



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]