Debian Codegraph @

gcc/testsuite/gcc.dg/lto/20090116_0.c

raw
1 /* { dg-lto-do link } */
2 /* { dg-require-effective-target fpic } */
3 /* { dg-lto-options {{-O1 -flto -flto-partition=1to1 -fPIC}} } */
4 /* { dg-extra-ld-options {-r -nostdlib -O0 -flinker-output=nolto-rel} } */
5
6 int foo(void) {
7 int ret, i;
8 for (i = 0; i < 1; i++)
9 ret = 0;
10 for (i = 0; i < 1; i++)
11 ret = 1;
12 return ret;
13 }