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
/
ssa-fre-2.c
1
/* { dg-do compile } */
2
/* { dg-options "-O -fdump-tree-fre-details" } */
3
4
/* From PR14287. */
5
6
short
g
,
h
;
7
8
void
9
foo
(
long
a
)
10
{
11
short
b
=
a
&
3
;
12
long
c
=
b
;
13
g
=
c
;
14
h
=
c
;
15
}
16
17
/* { dg-final { scan-tree-dump "Replaced \\\(short int\\\) c_.*with b_" "fre" } } */
18
/* { dg-final { cleanup-tree-dump "fre" } } */