Hello! gcc -msse2 -O1 -mfpmath=sse -da fp-cmp-8f.c In file included from fp-cmp-8f.c:2: fp-cmp-8.c: In function ātest_islessgreaterā: fp-cmp-8.c:71: internal compiler error: in ix86_expand_fp_movcc, at config/i386/i386.c:9813
The problem is that ltgt is not a valid sse_comparison_operator and gcc_assert() is triggered in i386.c: (jump_insn 13 12 18 0 (set (pc) (if_then_else (ltgt (reg:CCFPU 17 flags) (const_int 0 [0x0])) (label_ref 20) (pc))) 338 {*jcc_1} (nil) (expr_list:REG_BR_PROB (const_int 6700 [0x1a2c]) (nil))) Uros. -- Summary: [4.0 Regression] ICE in gcc.c-torture/execute/ieee/fp- cmp-8.c for x86_64 and i686 with -msse2 -mfpmath=sse Product: gcc Version: 4.0.0 Status: UNCONFIRMED Keywords: ssemmx Severity: normal Priority: P2 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: uros at kss-loka dot si CC: gcc-bugs at gcc dot gnu dot org GCC target triplet: x86_64-*, i686-* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19496