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
/
graphite
/
pr38084.c
blob
7193f9600264ff65b589f90e5c334bd3bf6012df
1
/* { dg-options "-O3 -fgraphite-identity" } */
2
3
typedef
struct
{
4
unsigned int
avail_out
;
5
void
*
state
;
6
}
stream
;
7
8
typedef
struct
{
9
stream
*
test
;
10
int
num
;
11
}
state_in
;
12
13
int
test_in
(
stream
*
test
,
int
action
)
14
{
15
state_in
*
tst
;
16
if
(
test
== ((
void
*)
0
))
return
(-
2
);
17
if
(
tst
== ((
void
*)
0
))
return
(-
2
);
18
if
(
tst
->
test
!=
test
)
return
(-
2
);
19
jump_here
:
20
switch
(
tst
->
num
) {
21
case
1
:
22
return
(-
1
);
23
case
2
:
24
if
(
action
==
0
) {
25
}
26
if
(
action
==
1
) {
27
goto
jump_here
;
28
}
29
}
30
return
0
;
31
}