https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80713

            Bug ID: 80713
           Summary: recent crash in update_dep_bb
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Created attachment 41341
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41341&action=edit
C source code

Between revisions 247856 and 247911, the attached code went
wrong and crashed the compiler with flag -O2.

I'll have a go at reducing the code.

$ ../results.247856/bin/gcc -c -O2 -w bug352.c
$ ../results.247911/bin/gcc -c -O2 -w bug352.c
destDir/testFile.3785.c: In function ‘func_1’:
destDir/testFile.3785.c:239:24: internal compiler error: Segmentation fault
0xc3b34f crash_signal
        ../../trunk/gcc/toplev.c:337
0xe52101 update_dep_bb
        ../../trunk/gcc/tree-ssa-tail-merge.c:408
0xe52101 stmt_update_dep_bb
        ../../trunk/gcc/tree-ssa-tail-merge.c:430
0xe52101 same_succ_hash
        ../../trunk/gcc/tree-ssa-tail-merge.c:453

Reply via email to