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
/
pr71824.c
blob
2a90e30e50fb700e6631d96b03ab570bfcc3a73f
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -floop-nest-optimize" } */
3
4
int
a
,
b
,
d
;
5
int
**
c
;
6
int
fn1
() {
7
while
(
a
)
8
if
(
d
) {
9
int
e
= -
d
;
10
for
(;
b
<
e
;
b
++)
11
c
[
b
] = &
a
;
12
}
else
{
13
for
(;
b
;
b
++)
14
c
[
b
] = &
b
;
15
d
=
0
;
16
}
17
}