comparison gcc/testsuite/gcc.dg/pr64511.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 debug/64511 */
2 /* { dg-do compile } */
3 /* { dg-options "-O3 -g" } */
4
5 int a, c;
6 int *volatile b;
7
8 void
9 foo (int p)
10 {
11 int d;
12 int *e = &a;
13 d = ((p == 0) & *e) != 0;
14 b = e;
15 for (; c;)
16 ;
17 }
18
19 void
20 bar (void)
21 {
22 foo (1);
23 }