Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/graphite/pr68715-2.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* { dg-do compile } */ |
131 | 2 /* { dg-options "-Ofast -floop-nest-optimize" } */ |
111 | 3 |
4 int a, b, c, d, f, g; | |
5 int e[1], h[1]; | |
6 void fn2 (); | |
7 void fn3 (); | |
8 void | |
9 fn1 () | |
10 { | |
11 fn2 (); | |
12 b = 0; | |
13 for (; b < 10; b++) | |
14 ; | |
15 } | |
16 | |
17 void | |
18 fn2 () | |
19 { | |
20 if (a) | |
21 { | |
22 fn3 (); | |
23 c = d; | |
24 } | |
25 } | |
26 | |
27 void | |
28 fn3 () | |
29 { | |
30 for (; g; g++) | |
31 e[g] = 2; | |
32 if (f) | |
33 for (; g; g++) | |
34 h[g] = 5; | |
35 } |