OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix PR 17408 and PR 17409.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
920501-7.c
1
#ifdef STACK_SIZE
2
#define DEPTH ((STACK_SIZE) / 512 + 1)
3
#else
4
#define DEPTH 1000
5
#endif
6
7
#if ! defined (NO_LABEL_VALUES) && !defined (NO_TRAMPOLINES)
8
x(a)
9
{
10
__label__ xlab;
11
void y(a)
12
{
13
if (a==0)
14
goto xlab;
15
y (a-1);
16
}
17
y (a);
18
xlab:;
19
return a;
20
}
21
#endif
22
23
main ()
24
{
25
#if ! defined (NO_LABEL_VALUES) && !defined (NO_TRAMPOLINES)
26
if (x (DEPTH) != DEPTH)
27
abort ();
28
#endif
29
exit (0);
30
}