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
2008-05-30 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
torture
/
pr34330.c
blob
85cfe37e8ad1ebcabc1f53fd994160bfc182be56
1
/* { dg-do compile } */
2
/* { dg-options "-ftree-parallelize-loops=4 -ftree-vectorize" } */
3
4
struct
T
5
{
6
int
t
;
7
struct
{
short
s1
,
s2
,
s3
,
s4
; } *
s
;
8
};
9
10
void
11
foo
(
int
*
a
,
int
*
b
,
int
*
c
,
int
*
d
,
struct
T
*
e
)
12
{
13
int
i
;
14
for
(
i
=
0
;
i
<
e
->
t
;
i
++)
15
{
16
e
->
s
[
i
].
s1
=
a
[
i
];
17
e
->
s
[
i
].
s2
=
b
[
i
];
18
e
->
s
[
i
].
s3
=
c
[
i
];
19
e
->
s
[
i
].
s4
=
d
[
i
];
20
}
21
}