Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/pr70771.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 /* { dg-do compile } */ | |
2 /* { dg-options "-O3" } */ | |
3 | |
4 int a, b, c, d; | |
5 | |
6 static void | |
7 fn1 () | |
8 { | |
9 for (b = 0; b < 1; b++) | |
10 for (c = 0; c < 1; c++) | |
11 { | |
12 if (a) | |
13 break; | |
14 b = 1; | |
15 } | |
16 for (;;) | |
17 ; | |
18 } | |
19 | |
20 int | |
21 main () | |
22 { | |
23 if (d) | |
24 fn1 (); | |
25 return 0; | |
26 } |