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

            Bug ID: 77956
           Summary: ice in insert_debug_temp_for_var_def with -g and -O2
           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 39796
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39796&action=edit
gzipped C source code

The attached code, when compiled by gcc trunk dated 20161012, with
compiler flags -g -O2, does this:

inout.c: In function ‘xfig_wiggly’:
inout.c:3987:1: internal compiler error: Segmentation fault
0xaeecd7 crash_signal
        ../../trunk/gcc/toplev.c:337
0xc9d7fc insert_debug_temp_for_var_def(gimple_stmt_iterator*, tree_node*)
        ../../trunk/gcc/tree-ssa.c:316
0xc9e397 insert_debug_temps_for_defs(gimple_stmt_iterator*)
        ../../trunk/gcc/tree-ssa.c:504
0x87f44f gsi_remove(gimple_stmt_iterator*, bool)
        ../../trunk/gcc/gimple-iterator.c:567

Reply via email to