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
Fix unused warnings.
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
comp-goto-2.c
blob
771cd956995a7e1da4736abab2c3153e3d10c6e5
1
/* A slight variation of 920501-7.c. */
2
3
#ifdef STACK_SIZE
4
#define DEPTH ((STACK_SIZE) / 512 + 1)
5
#else
6
#define DEPTH 1000
7
#endif
8
9
#if ! defined (NO_LABEL_VALUES) && !defined (NO_TRAMPOLINES)
10
x
(
a
)
11
{
12
__label__ xlab
;
13
void
y
(
a
)
14
{
15
void
*
x
= &&
llab
;
16
if
(
a
==-
1
)
17
goto
*
x
;
18
if
(
a
==
0
)
19
goto
xlab
;
20
llab
:
21
y
(
a
-
1
);
22
}
23
y
(
a
);
24
xlab
:;
25
return
a
;
26
}
27
#endif
28
29
main
()
30
{
31
#if ! defined (NO_LABEL_VALUES) && !defined (NO_TRAMPOLINES)
32
if
(
x
(
DEPTH
) !=
DEPTH
)
33
abort
();
34
#endif
35
exit
(
0
);
36
}