public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/25199]  New: crashing code output from -mtune=pentium4 but not -mtune=pentiumpro
@ 2005-12-01 10:25 caolanm at redhat dot com
  2005-12-01 10:27 ` [Bug c++/25199] " caolanm at redhat dot com
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: caolanm at redhat dot com @ 2005-12-01 10:25 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2008-08-29  7:23 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-01 10:25 [Bug c++/25199] New: crashing code output from -mtune=pentium4 but not -mtune=pentiumpro caolanm at redhat dot com
2005-12-01 10:27 ` [Bug c++/25199] " caolanm at redhat dot com
2005-12-01 10:27 ` caolanm at redhat dot com
2005-12-01 10:28 ` caolanm at redhat dot com
2005-12-01 10:28 ` caolanm at redhat dot com
2005-12-01 14:38 ` jakub at gcc dot gnu dot org
2005-12-01 14:56 ` jakub at gcc dot gnu dot org
2005-12-01 14:59 ` caolanm at redhat dot com
2005-12-01 15:24 ` [Bug target/25199] " pinskia at gcc dot gnu dot org
2005-12-01 15:25 ` pinskia at gcc dot gnu dot org
2005-12-01 16:39 ` jakub at gcc dot gnu dot org
2005-12-02 13:00 ` jakub at gcc dot gnu dot org
2005-12-02 22:55 ` jakub at gcc dot gnu dot org
2005-12-02 22:57 ` jakub at gcc dot gnu dot org
2005-12-02 22:58 ` jakub at gcc dot gnu dot org
2005-12-12  9:16 ` jakub at gcc dot gnu dot org
2008-08-29  6:55 ` pinskia at gcc dot gnu dot org
2008-08-29  7:23 ` jakub at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).