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

            Bug ID: 84526
           Summary: [8 Regression] ICE in generic_overlap at
                    gcc/gimple-ssa-warn-restrict.c:927 since r257860
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: msebor at gcc dot gnu.org
  Target Milestone: ---

Starting from the revision, we ICE on:

$ gcc -m32 -O2 -Wrestrict ytab.i
during GIMPLE pass: wrestrict
ytab.i: In function ā€˜cā€™:
ytab.i:7:6: internal compiler error: Segmentation fault
 void c (void) { __builtin_strcpy (&b.a[i], b.a); }
      ^
0xfdd6a9 crash_signal
        ../../gcc/toplev.c:325
0xc33483 generic_overlap
        ../../gcc/gimple-ssa-warn-restrict.c:927
0xc3486b strcpy_overlap
        ../../gcc/gimple-ssa-warn-restrict.c:1178
0xc354f6 overlap
        ../../gcc/gimple-ssa-warn-restrict.c:1304
0xc355db maybe_diag_overlap
        ../../gcc/gimple-ssa-warn-restrict.c:1325
0xc37792 check_bounds_or_overlap(gcall*, tree_node*, tree_node*, tree_node*,
tree_node*, bool)
        ../../gcc/gimple-ssa-warn-restrict.c:1889
0xc37484 check_call
        ../../gcc/gimple-ssa-warn-restrict.c:1822
0xc2fc66 before_dom_children
        ../../gcc/gimple-ssa-warn-restrict.c:106
0x1b14bc7 dom_walker::walk(basic_block_def*)
        ../../gcc/domwalk.c:353
0xc2fce8 execute
        ../../gcc/gimple-ssa-warn-restrict.c:120

Reply via email to