Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/lto/pr93384_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 | 1830386684a0 |
children |
line wrap: on
line source
/* PR lto/93384 */ /* { dg-lto-do link } */ /* { dg-require-effective-target fpic } */ /* { dg-require-effective-target shared } */ /* { dg-lto-options { { -O2 -flto -ffat-lto-objects -fpic -fno-semantic-interposition } } } */ /* { dg-extra-ld-options { -shared -flto-partition=none } } */ void bar (void); __attribute__((noipa)) void quux (int x) { if (x == 5) bar (); } __attribute__((noipa, noreturn)) void foo (void) { while (1) ; } __attribute__((noinline)) void bar (void) { asm (""); quux (7); foo (); } void baz (int x) { if (x) bar (); }