Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/lto/pr83388_0.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 84e7813d76e9 |
children |
rev | line source |
---|---|
131 | 1 /* { dg-lto-do link } */ |
2 /* { dg-lto-options { { -O2 -flto -fsanitize=null } { -O0 -flto -fsanitize=null } } } */ | |
3 /* { dg-extra-ld-options { -fno-sanitize=null -r -nostdlib -flinker-output=nolto-rel } } */ | |
4 | |
5 enum { a } e(void); | |
6 struct C { | |
7 int d; | |
8 } c; | |
9 long f; | |
10 void g(long); | |
11 static void i(_Bool h) { | |
12 struct C *a = ({ ({ &c; }); }); | |
13 if (e()) { | |
14 int b = a->d; | |
15 g(f); | |
16 } | |
17 } | |
18 void j(void) { i(a); } |