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
/
loadpre13.c
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-pre-stats" } */
3
int
t
[
2
];
4
int
g
(
int
);
5
int
f
(
int
tt
)
6
{
7
if
(
t
[
0
])
8
t
[
0
] =
2
;
9
return
g
(
t
[
0
]);
10
}
11
12
/* { dg-final { scan-tree-dump-times "Eliminated: 1" 1 "pre"} } */
13
/* { dg-final { cleanup-tree-dump "pre" } } */