blob: 0fda5663a801b0749a5a23c053e8bb2a27bca577 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O2 -ftree-cselim -fallow-store-data-races -fdump-tree-cselim-details" } */
void f (int*);
void g3 (int i)
{
int x = 0;
if (i)
x = i;
f (&x);
}
/* { dg-final { scan-tree-dump "Conditional store replacement happened" "cselim" } } */