http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55154
Bug #: 55154 Summary: [4.8 Regression] ICE: in curr_insn_transform, at lra-constraints.c:2702 with custom flags Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: zso...@seznam.cz Created attachment 28584 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28584 preprocessed source Compiler output: $ gcc -O2 -mcx16 -fpic -mcmodel=large -fno-split-wide-types pr46254.i /mnt/svn/gcc-trunk/gcc/testsuite/gcc.target/i386/pr46254.c: In function 'test': /mnt/svn/gcc-trunk/gcc/testsuite/gcc.target/i386/pr46254.c:11:1: error: unable to generate reloads for: } ^ (insn 10 14 0 2 (parallel [ (set (subreg:DI (reg:TI 65) 0) (unspec_volatile:DI [ (mem/v:TI (reg/f:DI 62) [-1 S16 A128]) (mem/c:DI (reg/f:DI 62) [2 i+0 S8 A128]) (mem/c:DI (plus:DI (reg/f:DI 62) (const_int 8 [0x8])) [2 i+8 S8 A64]) (mem/c:DI (reg/f:DI 62) [2 i+0 S8 A128]) (mem/c:DI (plus:DI (reg/f:DI 62) (const_int 8 [0x8])) [2 i+8 S8 A64]) (const_int 5 [0x5]) ] UNSPECV_CMPXCHG)) (set (subreg:DI (reg:TI 65) 8) (unspec_volatile:DI [ (const_int 0 [0]) ] UNSPECV_CMPXCHG)) (set (mem/v:TI (reg/f:DI 62) [-1 S16 A128]) (unspec_volatile:TI [ (const_int 0 [0]) ] UNSPECV_CMPXCHG)) (set (reg:CCZ 17 flags) (unspec_volatile:CCZ [ (const_int 0 [0]) ] UNSPECV_CMPXCHG)) (clobber (reg:DI 67)) ]) /mnt/svn/gcc-trunk/gcc/testsuite/gcc.target/i386/pr46254.c:10 2063 {atomic_compare_and_swapti_doubleword} (expr_list:REG_UNUSED (reg:DI 67) (expr_list:REG_DEAD (reg/f:DI 62) (expr_list:REG_DEAD (reg:TI 60 [ i.1 ]) (expr_list:REG_UNUSED (reg:TI 65) (expr_list:REG_UNUSED (reg:TI 65) (expr_list:REG_UNUSED (reg:CCZ 17 flags) (nil)))))))) /mnt/svn/gcc-trunk/gcc/testsuite/gcc.target/i386/pr46254.c:11:1: internal compiler error: in curr_insn_transform, at lra-constraints.c:2702 0x997d2a _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /mnt/svn/gcc-trunk/gcc/rtl-error.c:110 0x8dd7b9 curr_insn_transform /mnt/svn/gcc-trunk/gcc/lra-constraints.c:2702 0x8ddf34 lra_constraints(bool) /mnt/svn/gcc-trunk/gcc/lra-constraints.c:3404 0x8cdd1c lra(_IO_FILE*) /mnt/svn/gcc-trunk/gcc/lra.c:2281 0x883d66 do_reload /mnt/svn/gcc-trunk/gcc/ira.c:4624 0x883d66 rest_of_handle_reload /mnt/svn/gcc-trunk/gcc/ira.c:4736 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions.