This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/25199] New: crashing code output from -mtune=pentium4 but not -mtune=pentiumpro
- From: "caolanm at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Dec 2005 10:25:42 -0000
- Subject: [Bug c++/25199] New: crashing code output from -mtune=pentium4 but not -mtune=pentiumpro
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
A fairly tricky one. OOo compiled with -mtune=pentium4 will crash e.g.
http://qa.openoffice.org/issues/show_bug.cgi?id=58368 eventually on drawing
stuff. Problem traced to a particular file. Compied with -mtune=pentiumpro
instead and crash dissappears.
So taking -E code, attached here as salgdi.ii, comiling as
a)
g++ -S -Os -fno-strict-aliasing -fvisibility=hidden -mtune=pentiumpro
-fvisibility-inlines-hidden -g -fno-exceptions -fpic -o pentiumpro-salgdi.s
salgdi.ii
g++ -c -fpic -o ../../../unxlngi6.pro/slo/salgdi.o pentiumpro-salgdi.s
and all is well, and as
b)
++ -S -Os -fno-strict-aliasing -fvisibility=hidden -mtune=pentium4
-fvisibility-inlines-hidden -g -fno-exceptions -fpic -o pentium4-salgdi.s
salgdi.ii
g++ -c -fpic -o ../../../unxlngi6.pro/slo/salgdi.o pentium4-salgdi.s
all is not well.
.s also attached in an attempt to be useful
--
Summary: crashing code output from -mtune=pentium4 but not -
mtune=pentiumpro
Product: gcc
Version: 4.0.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: caolanm at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25199