1 /* This test was causing an ICE in DCE because we were allowing void *
2 pointers to have a memory tag, which we were copying when doing copy
3 propagation. Since void * can never be de-referenced, its memory tag
6 /* { dg-do compile } */
7 /* { dg-options "-O -ftree-dominator-opts" } */
9 typedef __SIZE_TYPE__ size_t;
10 typedef union tree_node *tree;
17 gt_ggc_mx_operands_d (void *x_p)
19 struct operands_d *const x = (struct operands_d *) x_p;
20 if ((*x).def_op != ((void *) 0))
25 const void *const a__ = ((*x).def_op);
26 if (a__ != ((void *) 0) && a__ != (void *) 1)
30 for (i0 = 0; i0 < (size_t) (1); i0++)
34 if ((void *) (*x).def_op[i0] != ((void *) 0))
35 gt_ggc_mx_lang_tree_node ((*x).def_op[i0]);