1 /* { dg-do compile } */ 2 /* { dg-options "-O2" } */ 3 functest(unsigned int x)4 unsigned int functest (unsigned int x) 5 { 6 return __builtin_clz (x); 7 } 8 9 /* { dg-final { scan-assembler "clz\tw" } } */ 10