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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [lto/] [20090303_0.C] - Blame information for rev 774

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

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

powered by: WebSVN 2.1.0

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