1 /* { dg-do run } */ 2 /* { dg-options "-std=c99 -O2" } */ 3 /* { dg-additional-options "-msse" { target { i?86-*-* x86_64-*-* } } } */ 4 /* { dg-require-effective-target sse_runtime { target { i?86-*-* x86_64-*-* } } } */ 5 6 extern void abort (void); 7 8 unsigned int __attribute__((noinline)) test(int shift_size)9test (int shift_size) 10 { 11 unsigned long long res = ~0; 12 13 return res << shift_size; 14 } 15 16 int main()17main () 18 { 19 int dst = 32; 20 21 if (test (dst) != 0) 22 abort (); 23 24 return 0; 25 } 26