http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54782



             Bug #: 54782

           Summary: [4.8 Regression] ICE: in change_scope, at final.c:1543

                    with -O -ffast-math -ftree-parallelize-loops=2 -g

    Classification: Unclassified

           Product: gcc

           Version: 4.8.0

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: middle-end

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: zso...@seznam.cz





Created attachment 28330

  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28330

reduced testcase



Compiler output:

$ gcc -O -ffast-math -ftree-parallelize-loops=2 -g testcase.c         

testcase.c: In function 'foo._loopfn.0':

testcase.c:12:3: internal compiler error: in change_scope, at final.c:1543

   for (i = 0; i < s->n; i++)

   ^

0x7980ea change_scope

        /mnt/svn/gcc-trunk/gcc/final.c:1543

0x79d68c reemit_insn_block_notes

        /mnt/svn/gcc-trunk/gcc/final.c:1613

0x79d68c final_start_function(rtx_def*, _IO_FILE*, int)

        /mnt/svn/gcc-trunk/gcc/final.c:1670

0x7a0585 rest_of_handle_final

        /mnt/svn/gcc-trunk/gcc/final.c:4291

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.



Tested revisions:

r191953 - crash

r191586 - crash

4.7 r191640 - OK

Reply via email to