projects
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
re PR tree-optimization/33291 (a+=2; a+=2 not simplified to a+=4; with -O3 ...
[gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
pr31183.c
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -ftree-loop-linear" } */
3
4
int
buf
[
256
*
9
];
5
int
f
()
6
{
7
int
i
,
j
;
8
9
for
(
i
=
0
;
i
<
256
; ++
i
)
10
for
(
j
=
0
;
j
<
8
; ++
j
)
11
buf
[
j
+
1
] =
buf
[
j
] +
1
;
12
13
return
buf
[
10
];
14
}