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 rtl-optimization/16104] New: ICE in reload_cse_simplify_operands, at postreload.c:378 with SSE2 code on -O2


with this compiler:

$ gcc -v
Reading specs from /usr/local/lib/gcc/i686-pc-cygwin/3.4.0/specs
Configured with: ../gcc-3.4.0/configure
Thread model: single
gcc version 3.4.0

I'm getting ICE on some SSE2 code when using -O2. The same code compiles fine 
with optimizations turned off.

$ g++ -O2 -msse2 --save-temps gcctest.cpp
gcctest.cpp: In function `void P4Optimized_Multiply4(word*, const word*, const 
word*)':
gcctest.cpp:119: error: insn does not satisfy its constraints:
(insn 1691 1690 1488 0 (set (reg/v:V2SI 21 xmm0 [orig:419 <anonymous> ] [419])
        (mem:V2SI (plus:SI (reg/f:SI 6 bp)
                (const_int -184 [0xffffff48])) [0 S8 A8])) 499 
{movv2si_internal} (nil)
    (nil))
gcctest.cpp:119: internal compiler error: in reload_cse_simplify_operands, at 
postreload.c:378

Will attach gcctest.ii.

-- 
           Summary: ICE in reload_cse_simplify_operands, at postreload.c:378
                    with SSE2 code on -O2
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gcc at weidai dot com
                CC: gcc-bugs at gcc dot gnu dot org


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


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