1 /* PR rtl-optimization/97386 */ 2 3 __attribute__((noipa)) unsigned foo(int x)4foo (int x) 5 { 6 unsigned long long a = (0x800000000000ccccULL << x) | (0x800000000000ccccULL >> (64 - x)); 7 unsigned int b = a; 8 return (b << 24) | (b >> 8); 9 } 10 11 int main()12main () 13 { 14 if (__CHAR_BIT__ == 8 15 && __SIZEOF_INT__ == 4 16 && __SIZEOF_LONG_LONG__ == 8 17 && foo (1) != 0x99000199U) 18 __builtin_abort (); 19 return 0; 20 } 21