Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / pr106938.c
blob7365a8c29fbae072fbe80a67a3a8a5fd8048591a
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fno-ipa-pure-const -fno-tree-ccp -Wuninitialized" } */
4 int n;
6 void
7 undefined (void);
9 __attribute__ ((returns_twice)) int
10 zero (void)
12 return 0;
15 void
16 bar (int)
18 int i;
20 for (i = 0; i < -1; ++i)
21 n = 0;
24 __attribute__ ((simd)) void
25 foo (void)
27 int uninitialized;
29 undefined ();
31 while (uninitialized < 1) /* { dg-warning "uninitialized" } */
33 bar (zero ());
34 ++uninitialized;