repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Stop only if there aren't any usable algorithms
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
pr31628.c
blob
eece2a0dbee009b85b64f9c67a329e6ec92311d9
1
/* { dg-do run } */
2
/* { dg-options "-O2 -fPIC" } */
3
/* { dg-require-effective-target ia32 } */
4
/* { dg-require-effective-target fpic } */
5
6
typedef
int
tt
, *
lptt
;
7
8
int
__attribute__
((
__stdcall__
))
bar
(
lptt
);
9
10
int
__attribute__
((
__stdcall__
))
bar
(
tt
*
x
)
11
{
12
return
0
;
13
}
14
15
int
16
foo
(
void
)
17
{
18
return
bar
(
0
);
19
}
20
21
int
22
main
()
23
{
24
return
foo
();
25
}