repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (151362:151806)
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
g++.dg
/
lto
/
20090303_0.C
blob
f6d5512e12397569e4a57d870901f8d084f2fd87
1
/* { 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