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
Document gcov-io (PR gcov-profile/84735).
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr29637.c
blob
5dfee41b1d5c9e9c2f09389dce8cc74f4e8a92ae
1
/* PR tree-optimization/29637 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -ftree-vectorize" } */
4
5
typedef
struct
__attribute__
((
aligned
(
8
)))
6
{
7
short
a
,
b
,
c
,
d
;
8
}
A
;
9
10
typedef
struct
11
{
12
A a
[
24
];
13
}
B
;
14
15
static const
A b
= {
0
,
0
,
1
, -
1
};
16
17
void
18
foo
(
B
*
x
)
19
{
20
int
i
;
21
for
(
i
=
0
;
i
<=
20
;
i
+=
4
)
22
x
->
a
[
i
] =
b
;
23
}