1 /* PR tree-optimization/61158 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fdump-tree-original" } */
4 
5 unsigned long long
foo(unsigned int x)6 foo (unsigned int x)
7 {
8   return ((unsigned long long) x & 0x00ff000000000000ULL) >> 40;
9 }
10 
11 /* { dg-final { scan-tree-dump "return 0;" "original" { target { ilp32 || lp64 } } } } */
12