* passes.c (ipa_write_summaries): Only modify statements if body
[official-gcc.git] / gcc / testsuite / gcc.dg / lto / 20090116_0.c
blobdc8043c368aa0277fb83daefbdc7d144bebcf157
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} } */
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;