OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [lto/] [20090116_0.c] - Blame information for rev 774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { 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} } */
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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.