]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/tree-ssa/pr83695.c
Fix profile update in tree_transform_and_unroll_loop
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr83695.c
1 /* { dg-do compile } */
2 /* { dg-options "-O3" } */
3
4 int a[3][3][3], b, d;
5 short c;
6 unsigned char e;
7
8 static void f ()
9 {
10 for (c = 0; c < 2; c++)
11 for (e = 0; e < 3; e++)
12 for (b = 0; b < 3; b++)
13 a[b][e][b] = 0;
14 while (1)
15 ;
16 }
17
18 int main ()
19 {
20 if (d)
21 f ();
22 return 0;
23 }