1 /* PR optimization/12109
3 This would ICE in tree-ssa-dce.c:process_worklist() when
4 the function was expecting an SSA_NAME but found a VAR_DECL. */
6 /* { dg-do compile } */
7 /* { dg-options "-O -ftree-dce" } */
9 void *do_it(void * dest
, const void * src
);
10 double *create_float(void);
12 void parse_rvalue(void **DataPtr
)
17 *DataPtr
= create_float();
22 *((double *)*DataPtr
) = local
;
26 do_it(*DataPtr
, &local
);