2 /* { dg-require-effective-target clzl } */
3 /* { dg-options "-O2 -fno-tree-ch -fdump-tree-optimized" } */
5 #define PREC (__CHAR_BIT__ * __SIZEOF_INT__)
8 __attribute__ ((noinline
, noclone
))
15 while (!(b
& (1 << (PREC
- 1)))) {
27 if (foo(1 << (PREC
- 1)) != 0)
29 if (foo(35) != PREC
- 6)
34 /* { dg-final { scan-tree-dump-times "__builtin_clz|\\.CLZ" 1 "optimized" } } */