repo.or.cz
/
gcc-vect-testsuite.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add compile command to each testcase
[gcc-vect-testsuite.git]
/
O3-pr49087.c
blob
c897fbcd0c488fde33a0d3e212814e14f7b121b9
1
/* { dg-do compile } */
2
3
static char
func2
() { }
4
5
struct
S0
6
{
7
int
t
;
8
};
9
10
int
g
;
11
12
struct
S0 s0
;
13
14
int
15
foo
(
int
arg
)
16
{
17
int
*
ptr
= &
g
;
18
int
i
,
j
;
19
for
(
i
=
0
;
i
<
10
;
i
+=
1
)
20
{
21
for
(
j
=
0
;
j
<
1
;
j
+=
1
)
22
{
23
int
k
;
24
if
(
arg
)
25
{
26
int
l
;
27
for
(
k
=
1
;
arg
<
10
;
arg
=
func2
())
28
{
29
return
l
;
30
}
31
}
32
*
ptr
=
func2
() ^
s0
.
t
;
33
}
34
}
35
}
36
37
/* { dg-final { cleanup-tree-dump "vect" } } */