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

            Bug ID: 86124
           Summary: [9 Regression] ICE in create_variable_info_for, at
                    tree-ssa-structalias.c:6123
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gs...@t-online.de
  Target Milestone: ---

Introduced between 20180527 and 20180603, at -O[gs123] :


$ cat z1.c
extern void a (void);
void b (void)
{
  void *c;
  c = a;
  *(char *)c = 1;
}


$ gcc-9-20180527 -c z1.c -O2 -fopenacc
$ gcc-9-20180610 -c z1.c -O2
$
$ gcc-9-20180610 -c z1.c -O2 -fopenacc
during IPA pass: pta
z1.c:7:1: internal compiler error: Segmentation fault
 }
 ^
0xa9cbbf crash_signal
        ../../gcc/toplev.c:324
0xc22f29 create_variable_info_for
        ../../gcc/tree-ssa-structalias.c:6123
0xc22f29 get_vi_for_tree
        ../../gcc/tree-ssa-structalias.c:2890
0xc232c7 get_constraint_for_ssa_var
        ../../gcc/tree-ssa-structalias.c:2971
0xc236fe get_constraint_for_1
        ../../gcc/tree-ssa-structalias.c:3559
0xc23d92 get_constraint_for_address_of
        ../../gcc/tree-ssa-structalias.c:3382
0xc2389b get_constraint_for_1
        ../../gcc/tree-ssa-structalias.c:3450
0xc24182 get_constraint_for_ptr_offset
        ../../gcc/tree-ssa-structalias.c:3106
0xc238c1 get_constraint_for_1
        ../../gcc/tree-ssa-structalias.c:3465
0xc24f3b find_func_aliases
        ../../gcc/tree-ssa-structalias.c:4896
0xc2d5a1 ipa_pta_execute
        ../../gcc/tree-ssa-structalias.c:8018

Reply via email to