public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/17113] New: GCSE breaks SSE2 intrinsics
@ 2004-08-19 23:59 bobm75 at gmail dot com
  2004-08-20  0:01 ` [Bug c++/17113] " bobm75 at gmail dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: bobm75 at gmail dot com @ 2004-08-19 23:59 UTC (permalink / raw)
  To: gcc-bugs

When I compile the following source file using:
$ gcc -march=pentium4 -O2 gccbug-p.cpp

The program breaks with the output seen below. However if I compile it like:
$ gcc -march=pentium4 -O2 -fno-gcse gccbug-p.cpp

Everything is fine.

Output with -march=pentium4 -O2
-------------------------------

Reading specs from /opt/gcc-3.4/lib/gcc/i686-pc-linux-gnu/3.4.1/specs
Configured with: ./configure --prefix=/opt/gcc-3.4
Thread model: posix
gcc version 3.4.1
 /opt/gcc-3.4/libexec/gcc/i686-pc-linux-gnu/3.4.1/cc1plus -quiet -v
-D_GNU_SOURCE gccbug-p.cpp -quiet -dumpbase gccbug-p.cpp -march=pentium4
-auxbase gccbug-p -O2 -version -o /tmp/cc69Idn4.s
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory
"/opt/gcc-3.4/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../../i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /opt/gcc-3.4/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../../include/c++/3.4.1
 /opt/gcc-3.4/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../../include/c++/3.4.1/i686-pc-linux-gnu
 /opt/gcc-3.4/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../../include/c++/3.4.1/backward
 /opt/gcc-3.4/include
 /opt/gcc-3.4/lib/gcc/i686-pc-linux-gnu/3.4.1/include
 /usr/include
End of search list.
GNU C++ version 3.4.1 (i686-pc-linux-gnu)
        compiled by GNU C version 3.4.2 20040819 (prerelease).
GGC heuristics: --param ggc-min-expand=99 --param ggc-min-heapsize=129450
gccbug-p.cpp: In function `void test1(int*)':
gccbug-p.cpp:70: error: unrecognizable insn:
(insn:HI 240 4 241 0 (set (reg:V16QI 79 [ __B ])
        (const_vector:V16QI [
                (const_int 0 [0x0])
                (const_int 0 [0x0])
                (const_int 0 [0x0])
                (const_int 0 [0x0])
                (const_int 0 [0x0])
                (const_int 0 [0x0])
                (const_int 0 [0x0])
                (const_int 0 [0x0])
                (const_int 0 [0x0])
                (const_int 0 [0x0])
                (const_int 0 [0x0])
                (const_int 0 [0x0])
                (const_int 0 [0x0])
                (const_int 0 [0x0])
                (const_int 0 [0x0])
                (const_int 0 [0x0])
            ])) -1 (nil)
    (expr_list:REG_EQUAL (const_vector:V16QI [
                (const_int 0 [0x0])
                (const_int 0 [0x0])
                (const_int 0 [0x0])
                (const_int 0 [0x0])
                (const_int 0 [0x0])
                (const_int 0 [0x0])
                (const_int 0 [0x0])
                (const_int 0 [0x0])
                (const_int 0 [0x0])
                (const_int 0 [0x0])
                (const_int 0 [0x0])
                (const_int 0 [0x0])
                (const_int 0 [0x0])
                (const_int 0 [0x0])
                (const_int 0 [0x0])
                (const_int 0 [0x0])
            ])
        (nil)))
gccbug-p.cpp:70: internal compiler error: in extract_insn, at recog.c:2083
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: GCSE breaks SSE2 intrinsics
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bobm75 at gmail dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17113


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

end of thread, other threads:[~2004-08-26  4:03 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-19 23:59 [Bug c++/17113] New: GCSE breaks SSE2 intrinsics bobm75 at gmail dot com
2004-08-20  0:01 ` [Bug c++/17113] " bobm75 at gmail dot com
2004-08-20  6:19 ` [Bug c++/17113] [3.4 Regression] " pinskia at gcc dot gnu dot org
2004-08-20 12:43 ` [Bug target/17113] [3.4 Regression] ICE with " reichelt at gcc dot gnu dot org
2004-08-20 17:35 ` bobm75 at gmail dot com
2004-08-20 18:21 ` mmitchel at gcc dot gnu dot org
2004-08-23  8:02 ` reichelt at gcc dot gnu dot org
2004-08-23  8:07 ` paolo dot bonzini at polimi dot it
2004-08-24 10:51 ` cvs-commit at gcc dot gnu dot org
2004-08-24 14:21 ` pinskia at gcc dot gnu dot org
2004-08-26  4:03 ` pinskia 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).