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
/
update-cunroll.c
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-optimized" } */
3
int
a
[
8
];
4
int
t
()
5
{
6
int
i
;
7
for
(
i
=
0
;
i
<
3
;
i
++)
8
if
(
a
[
i
])
9
break
;
10
return
i
;
11
}
12
/* { dg-final { scan-tree-dump-times "Invalid sum" 0 "optimized"} } */
13
/* { dg-final { cleanup-tree-dump "optimized" } } */