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
PR tree-optimization/84740
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
graphite
/
pr80167.c
blob
990450b2ae69d6c10fe7aa153f95dc33562615d6
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -floop-nest-optimize" } */
3
4
typedef
struct
5
{
6
short
a
;
7
short
b
;
8
short
c
;
9
}
d
;
10
extern
d e
[];
11
int
f
[
8
];
12
void
13
g
(
d
*
i
)
14
{
15
int
h
=
0
;
16
for
(;
h
<
28
;
h
++)
17
e
[
h
].
a
=
e
[
h
].
b
=
i
[
h
].
a
;
18
h
=
0
;
19
for
(;
h
<
8
;
h
++)
20
f
[
h
] =
i
[
h
].
b
+
i
[
h
].
c
;
21
h
=
0
;
22
for
(;
h
<
8
;
h
++)
23
f
[
h
] =
i
[
h
].
b
;
24
}