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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr64728.c
blob
7384d85a9289d8ae1c22929838954777ea4831bf
1
/* { dg-do compile } */
2
/* { dg-require-effective-target nonlocal_goto } */
3
4
#include <setjmp.h>
5
6
jmp_buf
a
;
7
int
b
,
d
;
8
void
baz
(
long
);
9
10
static void
11
bar
(
long
*
x
)
12
{
13
if
(
d
)
14
*
x
=
b
;
15
}
16
17
void
18
foo
()
19
{
20
baz
(
0
);
21
if
(
setjmp
(
a
))
22
{
23
long
c
;
24
bar
(&
c
);
25
baz
(
c
);
26
}
27
baz
(
0
);
28
}