Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.git] / gcc / testsuite / gcc.dg / lto / 20090116_0.c
blob5bb3a919a599056a253a0aed7ace60fc55a4f77f
1 /* { dg-lto-do link } */
2 /* { dg-lto-options {{-O1 -flto -flto-partition=1to1 -fPIC}} } */
3 /* { dg-extra-ld-options {-r -nostdlib -O0} } */
5 int foo(void) {
6 int ret, i;
7 for (i = 0; i < 1; i++)
8 ret = 0;
9 for (i = 0; i < 1; i++)
10 ret = 1;
11 return ret;