From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22401 invoked by alias); 31 Oct 2012 20:47:54 -0000 Received: (qmail 22328 invoked by uid 48); 31 Oct 2012 20:47:39 -0000 From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/55154] New: [4.8 Regression] ICE: in curr_insn_transform, at lra-constraints.c:2702 with custom flags Date: Wed, 31 Oct 2012 20:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-10/txt/msg02987.txt.bz2 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: unassigned@gcc.gnu.org ReportedBy: zsojka@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 for instructions.