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



             Bug #: 56131

           Summary: [4.8 regression] gcc.dg/pr56035.c ICEs gcc on

                    sparc-linux

    Classification: Unclassified

           Product: gcc

           Version: 4.7.3

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: regression

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

        ReportedBy: mi...@it.uu.se





The recently added gcc.dg/pr56035.c test case fails on sparc-linux:



+FAIL: gcc.dg/pr56035.c (internal compiler error)

+FAIL: gcc.dg/pr56035.c (test for excess errors)



Compiling it with an x86_64-linux to sparc-linux cross-compiler shows:



> /tmp/objdir/gcc/xgcc -B/tmp/objdir/gcc/ -O1 -ftree-vectorize 
> -fcse-follow-jumps -fstrict-overflow -S pr56035.c 

pr56035.c: In function 'f':

pr56035.c:35:1: internal compiler error: Segmentation fault

 }

 ^

0x70fa9f crash_signal

        /tmp/gcc-4.8-20130127/gcc/toplev.c:332

0x4cdc96 delete_insn(rtx_def*)

        /tmp/gcc-4.8-20130127/gcc/cfgrtl.c:151

0x6210a8 delete_related_insns(rtx_def*)

        /tmp/gcc-4.8-20130127/gcc/jump.c:1243

0x6215e7 redirect_jump_2(rtx_def*, rtx_def*, rtx_def*, int, int)

        /tmp/gcc-4.8-20130127/gcc/jump.c:1574

0x6216b2 redirect_jump(rtx_def*, rtx_def*, int)

        /tmp/gcc-4.8-20130127/gcc/jump.c:1533

0x6c4464 dbr_schedule(rtx_def*)

        /tmp/gcc-4.8-20130127/gcc/reorg.c:3722

0x6c52bf rest_of_handle_delay_slots

        /tmp/gcc-4.8-20130127/gcc/reorg.c:3891

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.



This ICE is different from the one in PR56035.



Reverting the PR56035 fix in r195462 makes no difference.



gcc-4.7 does not ICE on this test case.

Reply via email to