* passes.c (ipa_write_summaries): Only modify statements if body
[official-gcc.git] / gcc / testsuite / gcc.dg / lto / pr83388_0.c
blobeb60b0e17745ef6418919a08b70e20b4278bebc5
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 } } */
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);
18 void j(void) { i(a); }