blob: 5f93112acf7d38bd7e207b333b7906e9137f444d [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O2 -ftree-cselim -fdump-tree-cselim-details" } */
int *t;
int f1 (int tt)
{
int *t1 = t;
*t1 = -5;
if (*t1 < tt)
*((unsigned *) t1) = 5;
return *t1;
}
/* { dg-final { scan-tree-dump "Conditional store replacement" "cselim" } } */