2005-06-12 James A. Morrison <phython@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr14796-1.c
blobc927e2b54036f18dafd5eacb1b08dfa779245237
1 /* { dg-do compile } */
2 /* { dg-options "-fdump-tree-gimple" } */
4 int f (int a) {
5 return (a << 3) << 6;
8 int g (int b) {
9 return (b >> 5) << 5;
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" } } */