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
/
pr90071.c
blob
1c4099cefe0c426c328330cd992bdb2994580c44
1
/* { dg-do compile } */
2
/* { dg-require-effective-target indirect_jumps } */
3
/* { dg-require-effective-target label_values } */
4
5
int
a
;
6
static int
b
;
7
8
void
9
foo
()
10
{
11
int
d
;
12
int
e
= (
int
) (
__INTPTR_TYPE__
) &&
f
;
13
void
*
g
= &&
h
;
14
h
: ++
e
;
15
if
(
a
)
16
i
:
goto
*
g
;
17
for
(;;)
18
{
19
e
=
0
;
20
if
(
b
)
21
goto
i
;
22
}
23
f
:
24
goto
*(
void
*)(
__INTPTR_TYPE__
)({
d
||
e
<
0
||
e
>=
2
; });
25
&
e
;
26
}