LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr57741-1.c
blobec8c41a0487de360bcad620b39406122ca59adde
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;