public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/57105] New: [4.9 Regression] ICE: in add_insn_before_nobb, at emit-rtl.c:3883 with -Os -fselective-scheduling2 -g
@ 2013-04-28 17:42 zsojka at seznam dot cz
  2013-04-29  8:08 ` [Bug rtl-optimization/57105] " rguenth at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: zsojka at seznam dot cz @ 2013-04-28 17:42 UTC (permalink / raw)
  To: gcc-bugs


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 <http://gcc.gnu.org/bugs.html> 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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-04-30 10:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-28 17:42 [Bug rtl-optimization/57105] New: [4.9 Regression] ICE: in add_insn_before_nobb, at emit-rtl.c:3883 with -Os -fselective-scheduling2 -g zsojka at seznam dot cz
2013-04-29  8:08 ` [Bug rtl-optimization/57105] " rguenth at gcc dot gnu.org
2013-04-29  9:18 ` abel at gcc dot gnu.org
2013-04-29  9:38 ` mpolacek at gcc dot gnu.org
2013-04-29  9:40 ` abel at gcc dot gnu.org
2013-04-30 10:58 ` abel at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).