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
* tree-loop-distribution.c (struct partition): New field recording
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
graphite
/
pr71824-2.c
blob
18176568d4aa4f4c5f8dc475203bdd70abfa65cb
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -floop-nest-optimize" } */
3
4
typedef
struct
{
float
x1
; }
bx
;
5
typedef
struct
{
6
int
w
;
7
short
o
;
8
}
T2P
;
9
T2P a
;
10
int
b
;
11
void
fn2
();
12
void
fn3
(
bx
*,
short
);
13
void
fn1
() {
14
unsigned
i
=
0
;
15
int
c
;
16
bx
*
d
;
17
bx
**
h
;
18
if
(
b
==
0
) {
19
fn2
();
20
return
;
21
}
22
for
(;
c
;
c
++)
23
for
(;
i
<
100
;
i
++) {
24
d
=
h
[
i
];
25
d
->
x1
=
a
.
w
;
26
}
27
for
(;
i
<
100
;
i
++) {
28
d
=
h
[
i
];
29
d
->
x1
=
a
.
w
;
30
}
31
if
(
a
.
o
)
32
for
(;
b
;)
33
fn3
(
d
,
a
.
o
);
34
}