Merged revisions 208012,208018-208019,208021,208023-208030,208033,208037,208040-20804...
[official-gcc.git] / main / gcc / testsuite / gcc.dg / vect / pr57741-1.c
blob780f870e317774fb5eba05cf2ee1878013fff2c4
1 /* PR tree-optimization/57741 */
2 /* { dg-do compile } */
4 void
5 foo (float *p, float *q, float x)
7 int i;
8 float f = 1.0f, g = 2.0f;
9 for (i = 0; i < 1024; i++)
11 *p++ = f;
12 f += x;
14 for (i = 0; i < 1024; i++)
16 *q++ = g;
17 g += 0.5f;
21 /* { dg-final { cleanup-tree-dump "vect" } } */