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

            Bug ID: 88958
           Summary: ICE in walk_aliased_vdefs_1, at tree-ssa-alias.c:2887
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: d
          Assignee: ibuclaw at gdcproject dot org
          Reporter: gs...@t-online.de
  Target Milestone: ---

With following snippet :


$ cat z1.d
void f(int) {}
void g(...) {}
void h()
{
    g(*&f);
}


$ gdc-9-20190120 -c z1.d
$
$ gdc-9-20190120 -c z1.d -O0 -Wextra
during GIMPLE pass: *early_warn_uninitialized
In function 'h':
d21: internal compiler error: Segmentation fault
0xb821cf crash_signal
        ../../gcc/toplev.c:326
0xc4f63c walk_aliased_vdefs_1
        ../../gcc/tree-ssa-alias.c:2887
0xc4f7e1 walk_aliased_vdefs(ao_ref*, tree_node*, bool (*)(ao_ref*, tree_node*,
void*), void*, bitmap_head**, bool*, unsigned int)
        ../../gcc/tree-ssa-alias.c:2945
0xd34d04 warn_uninitialized_vars
        ../../gcc/tree-ssa-uninit.c:342
0xd34f80 execute_early_warn_uninitialized
        ../../gcc/tree-ssa-uninit.c:2736
0xd34f80 execute
        ../../gcc/tree-ssa-uninit.c:2771

Reply via email to