1 /* { dg-do compile { target int32plus } } */
2 /* { dg-options "-O2 -fdump-rtl-expand-details" } */
3 
foo(unsigned int cc)4 int foo(unsigned int cc )
5 {
6 
7   while ( cc >> 16 )
8     {
9       cc = (cc & 0xffff) + (cc >> 16);
10     }
11 
12   return ( (unsigned short)(cc) ) == ((unsigned short)(-1));
13 }
14 
15 /* { dg-final { scan-rtl-dump-not "_\[0-9\]* = 1;" "expand" } } */
16