repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2005-06-12 James A. Morrison <phython@gcc.gnu.org>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr14796-1.c
blob
c927e2b54036f18dafd5eacb1b08dfa779245237
1
/* { dg-do compile } */
2
/* { dg-options "-fdump-tree-gimple" } */
3
4
int
f
(
int
a
) {
5
return
(
a
<<
3
) <<
6
;
6
}
7
8
int
g
(
int
b
) {
9
return
(
b
>>
5
) <<
5
;
10
}
11
12
/* { dg-final { scan-tree-dump "a << 9" "gimple" } } */
13
/* { dg-final { scan-tree-dump "b & -32" "gimple" } } */
14
/* { dg-final { cleanup-tree-dump "gimple" } } */