]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/tree-ssa/pr81832.c
Fix profile update in tree_transform_and_unroll_loop
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr81832.c
CommitLineData
90d43c80
BC
1/* { dg-do compile } */
2/* { dg-options "-O3" } */
3
4int a, b, *c;
5void d(void)
6{
7 int **e;
8 for(;;)
9 for(int f = 1; f <= 6; f++)
10 {
11 b = 0;
12 if(a)
13g:
14 while(a++);
15 if (**e);
16 else
17 {
18 *c = a;
19 goto g;
20 }
21 }
22}