comparison gcc/testsuite/gcc.dg/pr68375.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 "-O2 -fdump-tree-optimized-graph" } */
3
4 int a, c, d, e, g, h;
5 short f;
6
7 int
8 foo ()
9 {
10 }
11
12 short
13 fn1 (void)
14 {
15 int j[2];
16 for (; e; e++)
17 if (j[0])
18 for (;;)
19 ;
20 if (!g)
21 return f;
22 }
23
24 int
25 main (void)
26 {
27 for (; a < 1; a++)
28 {
29 for (c = 0; c < 2; c++)
30 {
31 d && (f = 0);
32 h = fn1 ();
33 }
34 __builtin_printf ("%d\n", (char) f);
35 }
36
37 return 0;
38 }
39