Corrected date in changelog
[official-gcc.git] / gcc / testsuite / gcc.dg / pr80903.c
blob73d44b0dc4565649eb9235fca76b858001ad9ac4
1 /* PR rtl-optimization/80903 */
2 /* { dg-do compile } */
3 /* { dg-options "-O3 -funroll-loops" } */
5 short int a;
7 void
8 foo (int x, short int y, short int z)
10 if (y != 0)
12 const short int b = 37;
13 y = 0;
14 while (y < b)
16 while (y < b)
18 lab:
19 ++y;
21 for (y = 0; y < b - 1; ++y)
23 if (z != 0)
25 --a;
26 y *= a;
28 z = x;
30 x = 0;
33 goto lab;