]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.c-torture/compile/pr106433.c
b840e5ecd931607a903b802a1f9f6868061ae70c
[thirdparty/gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr106433.c
1 /* PR tree-optimization/106433 */
2
3 int m, *p;
4
5 __attribute__ ((simd)) int
6 bar (int x)
7 {
8 if (x)
9 {
10 if (m < 1)
11 for (m = 0; m < 1; ++m)
12 ++x;
13 p = &x;
14 for (;;)
15 ++m;
16 }
17 return 0;
18 }
19
20 __attribute__ ((simd)) int
21 foo (int x)
22 {
23 return bar (x);
24 }