* passes.c (ipa_write_summaries): Only modify statements if body
[official-gcc.git] / gcc / testsuite / gcc.dg / lto / pr81406_0.c
blob26d4195bf638d67aac64913bc0baa3a29e272f66
1 /* PR lto/81406 */
2 /* { dg-lto-do link } */
3 /* { dg-lto-options { { -O2 -g -flto } } } */
4 /* { dg-extra-ld-options { -g -r -nostdlib -flinker-output=nolto-rel } } */
6 int a;
7 int *foo (void);
9 static inline int __attribute__ ((__artificial__))
10 bar (void)
12 if (a)
13 *foo () = 2;
16 void *
17 baz (void)
19 return (void *) bar;