Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr45449.c @ 132:d34655255c78
update gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 10:21:07 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* { dg-do compile } */ |
2 /* { dg-options "-O2 -fno-tree-pre -fno-tree-pta -fcompare-debug" } */ | |
3 /* { dg-xfail-if "" { powerpc-ibm-aix* } } */ | |
4 | |
5 struct S | |
6 { | |
7 }; | |
8 | |
9 void | |
10 baz (void) | |
11 { | |
12 struct S s; | |
13 &s; | |
14 } | |
15 | |
16 int bar (void); | |
17 | |
18 void | |
19 foo (void) | |
20 { | |
21 if (bar ()) | |
22 baz (); | |
23 } |