Fix file cache tunables documentation
[official-gcc.git] / gcc / testsuite / gcc.dg / fold-convlshift-1.c
blobb6f57f81e72b6f15beb128c89ec57f32864c03cc
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
4 unsigned int foo(unsigned int i)
6 int t1 = i;
7 int t2 = t1 << 8;
8 return t2;
11 int bar(int i)
13 unsigned int t1 = i;
14 unsigned int t2 = t1 << 8;
15 return t2;
18 /* { dg-final { scan-tree-dump-not "\\(int\\)" "optimized" } } */
19 /* { dg-final { scan-tree-dump-not "\\(unsigned int\\)" "optimized" } } */