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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [lto/] [20090303_0.C] - Blame information for rev 308

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

Line No. Rev Author Line
1 301 jeremybenn
/* { dg-lto-do run } */
2
/* { dg-lto-options {{-fwhopr -fPIC}} } */
3
/* { dg-suppress-ld-options {-fPIC} }  */
4
void foobar(int *, int* __x)    ;
5
int test_ints[30];
6
int j;
7
 
8
void foobar (int *x, int *y)
9
{
10
  *x = *y = 0;
11
}
12
 
13
void Test() {
14
 int int_set_;
15
 foobar (&int_set_, &test_ints[j]);
16
}
17
main()
18
{
19
  Test();
20
  return 0;
21
}
22
 

powered by: WebSVN 2.1.0

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