blob: da19806b712cb021d7486ce119712c68ca88c074 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O -fstrict-aliasing -fdump-tree-lim2-details" } */
unsigned p;
void foo (float *q)
{
for (int i = 0; i < 256; ++i)
{
if (p)
{
unsigned a = p;
*(q++) = 1.;
p = a + 1;
}
}
}
/* { dg-final { scan-tree-dump-times "Executing store motion" 1 "lim2" } } */