Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/pr71518.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 /* PR tree-optimization/71518 */ | |
2 /* { dg-options "-O3" } */ | |
3 | |
4 int a, *b[9], c, d, e; | |
5 | |
6 static int | |
7 fn1 () | |
8 { | |
9 for (c = 6; c >= 0; c--) | |
10 for (d = 0; d < 2; d++) | |
11 { | |
12 b[d * 2 + c] = 0; | |
13 e = a > 1 ? : 0; | |
14 if (e == 2) | |
15 return 0; | |
16 } | |
17 return 0; | |
18 } | |
19 | |
20 int | |
21 main () | |
22 { | |
23 fn1 (); | |
24 return 0; | |
25 } |