]>
Commit | Line | Data |
---|---|---|
1c53fa8c RB |
1 | /* { dg-do compile } */ |
2 | /* { dg-options "-O2 -fgimple -fdump-tree-ch2-details" } */ | |
3 | ||
4 | int __GIMPLE (startwith("ch")) | |
5 | test2 (int n) | |
6 | { | |
7 | bb_3: | |
8 | if (n_1(D) > 0) | |
9 | goto bb_3; | |
10 | else | |
11 | goto bb_4; | |
12 | ||
13 | bb_4: | |
14 | return; | |
15 | ||
16 | } | |
17 | ||
18 | /* { dg-final { scan-tree-dump "is do-while loop" "ch2" } } */ | |
19 | /* { dg-final { scan-tree-dump-not "is not do-while loop" "ch2" } } */ |