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
PR c/64856
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr63748.c
blob
2e5044584a6d127dad62add07a5ff7ec4c913f4e
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -Wall" } */
3
4
#include <setjmp.h>
5
6
jmp_buf
*
alloc_jmp_buf
();
7
int
foo
(
void
*);
8
9
int
10
test
(
int
op
,
int
noside
)
11
{
12
void
*
argvec
=
0
;
13
14
if
(
op
)
15
{
16
jmp_buf
*
buf
=
alloc_jmp_buf
();
/* { dg-bogus "uninitialized" } */
17
setjmp
(*
buf
);
18
19
if
(
noside
)
20
goto
nosideret
;
21
22
do_call_it
:
23
24
if
(
noside
)
25
goto
nosideret
;
26
27
return
foo
(
argvec
);
28
}
29
30
argvec
=
__builtin_alloca
(
1
);
31
goto
do_call_it
;
32
33
nosideret
:
34
return
1
;
35
}
36