[Bug target/14981] [3.4 Regression] ICE in _mm_xor_pd for SSE2 with -O1

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon May 9 16:52:00 GMT 2005


------- Additional Comments From jakub at gcc dot gnu dot org  2005-05-09 16:50 -------
This patch creates regressions on i?86:
FAIL: gcc.dg/20020523-1.c (test for excess errors)
WARNING: gcc.dg/20020523-1.c compilation failed to produce executable
FAIL: gcc.dg/20020523-2.c (test for excess errors)
WARNING: gcc.dg/20020523-2.c compilation failed to produce executable

./xgcc -B ./ -v -m32 -march=pentium3 -msse -ffast-math -O2 20020523-1.c
Reading specs from ./specs
Configured with: ../configure --enable-languages=c,c++
Thread model: posix
gcc version 3.4.4 20050509 (prerelease)
 ./cc1 -quiet -v -iprefix
/usr/src/gcc-3.4/obj/gcc/../lib/gcc/x86_64-unknown-linux-gnu/3.4.4/ -isystem
./include 20020523-1.c -quiet -dumpbase 20020523-1.c -m32 -march=pentium3 -msse
-auxbase 20020523-1 -O2 -version -ffast-math -o /tmp/ccwFAGHO.s
ignoring nonexistent directory
"/usr/src/gcc-3.4/obj/gcc/../lib/gcc/x86_64-unknown-linux-gnu/3.4.4/include"
ignoring nonexistent directory
"/usr/src/gcc-3.4/obj/gcc/../lib/gcc/x86_64-unknown-linux-gnu/3.4.4/../../../../x86_64-unknown-linux-gnu/include"
ignoring nonexistent directory "NONE/include"
ignoring nonexistent directory
"/usr/local/lib/gcc/x86_64-unknown-linux-gnu/3.4.4/include"
ignoring nonexistent directory
"/usr/local/lib/../x86_64-unknown-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 ./include
 /usr/local/include
 /usr/include
End of search list.
GNU C version 3.4.4 20050509 (prerelease) (x86_64-unknown-linux-gnu)
        compiled by GNU C version 3.4.3 20050227 (Red Hat 3.4.3-22.fc3).
GGC heuristics: --param ggc-min-expand=98 --param ggc-min-heapsize=128053
20020523-1.c: In function `main':
20020523-1.c:65: error: could not split insn
(insn:TI 108 123 112 (set (reg:SF 22 xmm1)
        (if_then_else:SF (gt (reg:SF 22 xmm1)
                (mem/u/f:SF (symbol_ref/u:SI ("*.LC2") [flags 0x2]) [2 S4 A32]))
            (reg:SF 21 xmm0 [76])
            (const_double:SF 0.0 [0x0.0p+0]))) 663 {*sse_movsfcc_const0_1}
(insn_list 123 (insn_list 122 (insn_list:REG_DEP_ANTI 106 (nil))))
    (expr_list:REG_DEAD (reg:SF 21 xmm0 [76])
        (expr_list:REG_EQUIV (mem/f:SF (reg/f:SI 7 sp) [0 S4 A32])
            (nil))))
20020523-1.c:65: internal compiler error: in final_scan_insn, at final.c:2429
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

Reverting this patch fixes it.

-- 


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



More information about the Gcc-bugs mailing list