Sign in
gnu
/
gcc
/
refs/tags/releases/gcc-4.6.0
/
.
/
gcc
/
testsuite
/
gcc.dg
/
lto
/
20090116_0.c
blob: 5bb3a919a599056a253a0aed7ace60fc55a4f77f [
file
] [
log
] [
blame
]
/* { dg-lto-do link } */
/* { dg-lto-options {{-O1 -flto -flto-partition=1to1 -fPIC}} } */
/* { dg-extra-ld-options {-r -nostdlib -O0} } */
int
foo
(
void
)
{
int
ret
,
i
;
for
(
i
=
0
;
i
<
1
;
i
++)
ret
=
0
;
for
(
i
=
0
;
i
<
1
;
i
++)
ret
=
1
;
return
ret
;
}