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