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
[PR64164] Drop copyrename, use coalescible partition as base when optimizing.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr66101.c
blob
f3ef5e55bfd9b8bd0306a563cd9c46045142f287
1
/* { dg-do compile } */
2
3
#include <setjmp.h>
4
5
jmp_buf
env
;
6
7
int
a
,
c
,
d
,
e
;
8
9
int
10
bar
()
11
{
12
int
b
= *(
long
*)
7
==
5
? :
0
;
13
if
(
a
||
a
>
b
)
14
longjmp
(
env
,
0
);
15
return
1
;
16
}
17
18
void
19
foo
()
20
{
21
long
f
;
22
setjmp
(
env
);
23
for
(;
d
;
c
++)
24
switch
(
c
)
25
case
0
:
26
{
27
f
=
bar
() >>
1
;
28
if
(
e
)
29
goto
L
;
30
if
(
bar
() >>
1
)
31
goto
L
;
32
}
33
L
:
34
;
35
}