LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / pr55831.c
blobce7be63e1da06798a7357559612ea3b9fa02b59c
1 /* PR tree-optimization/55831 */
2 /* { dg-do compile } */
3 /* { dg-options "-O -fstrict-overflow -ftree-vectorize -Wno-unused-label" } */
5 int g;
6 short p, q;
8 void
9 foo (void)
11 short a = p, b = q, i;
13 if (a)
15 label:
16 for (i = 0; i < 8; i++)
17 b ^= a++;
19 if (!b)
20 g = 0;
24 void
25 bar (void)
27 short a = p, b = q, i;
29 if (a)
31 label:
32 for (i = 0; i < 8; i++)
33 b ^= (a = a + 1);
35 if (!b)
36 g = 0;