]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/tree-ssa/loop-25.c
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-profile_estimate" } */
12 /* Only one loop should be found here. */
31 /* Two loops should be found, in this case. */
76 /* Two loops with a nested subloop. */
82 for (k
= 0; k
< 100; k
++)
100 /* Both subloop and non-subloop back edges. */
121 /* { dg-final { scan-tree-dump-times "Disambiguating loop" 5 "profile_estimate" } } */
122 /* For the following xfail marks, see PR35629. */
123 /* { dg-final { scan-tree-dump-times "Found latch edge" 5 "profile_estimate" { xfail *-*-* } } } */
124 /* { dg-final { scan-tree-dump-times "Merged latch edges" 2 "profile_estimate" { xfail *-*-* } } } */
125 /* { dg-final { scan-tree-dump-times "4 loops found" 2 "profile_estimate" { xfail *-*-* } } } */
126 /* { dg-final { scan-tree-dump-times "3 loops found" 2 "profile_estimate" { xfail *-*-* } } } */
127 /* { dg-final { scan-tree-dump-times "2 loops found" 1 "profile_estimate" { xfail *-*-* } } } */