From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9497 invoked by alias); 28 Apr 2013 17:42:59 -0000 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 Received: (qmail 9476 invoked by uid 48); 28 Apr 2013 17:42:56 -0000 From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/57105] New: [4.9 Regression] ICE: in add_insn_before_nobb, at emit-rtl.c:3883 with -Os -fselective-scheduling2 -g Date: Sun, 28 Apr 2013 17:42: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 X-SW-Source: 2013-04/txt/msg02283.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57105 Bug #: 57105 Summary: [4.9 Regression] ICE: in add_insn_before_nobb, at emit-rtl.c:3883 with -Os -fselective-scheduling2 -g Classification: Unclassified Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassigned@gcc.gnu.org ReportedBy: zsojka@seznam.cz Created attachment 29966 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29966 reduced testcase Compiler output: $ gcc -Os -fselective-scheduling2 -g testcase.c testcase.c: In function 'foo': testcase.c:16:1: internal compiler error: in add_insn_before_nobb, at emit-rtl.c:3883 } ^ 0x758a1f add_insn_before_nobb /mnt/svn/gcc-trunk/gcc/emit-rtl.c:3883 0x761441 add_insn_before(rtx_def*, rtx_def*, basic_block_def*) /mnt/svn/gcc-trunk/gcc/emit-rtl.c:3945 0x76447e emit_note_before(insn_note, rtx_def*) /mnt/svn/gcc-trunk/gcc/emit-rtl.c:4516 0x7a6b44 change_scope /mnt/svn/gcc-trunk/gcc/final.c:1591 0x7acef2 reemit_insn_block_notes /mnt/svn/gcc-trunk/gcc/final.c:1640 0x7acef2 final_start_function(rtx_def*, _IO_FILE*, int) /mnt/svn/gcc-trunk/gcc/final.c:1733 0x7aff25 rest_of_handle_final /mnt/svn/gcc-trunk/gcc/final.c:4331 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. $ gcc -v Using built-in specs. COLLECT_GCC=/mnt/svn/gcc-trunk/binary-latest/bin/gcc COLLECT_LTO_WRAPPER=/mnt/svn/gcc-trunk/binary-198366-lto-fortran-checking-yes-rtl-df/libexec/gcc/x86_64-unknown-linux-gnu/4.9.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: /mnt/svn/gcc-trunk//configure --enable-checking=yes,rtl,df --enable-languages=c,c++,lto,fortran --prefix=/mnt/svn/gcc-trunk/binary-198366-lto-fortran-checking-yes-rtl-df/ --without-cloog --without-ppl Thread model: posix gcc version 4.9.0 20130428 (experimental) (GCC) Tested revisions: r198366 - crash 4.8 r198018 - OK