PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr71016.c
blobd5a89ebd39358910c64cd4380a10ab511fe65ba5
1 /* PR tree-optimization/71016 */
2 /* { dg-do compile { target lp64 } } */
3 /* { dg-options "-O2 -mlzcnt" } */
4 /* { dg-final { scan-assembler-not "cltq" } } */
6 long int
7 foo (long int i)
9 return i == 0 ? 17 : __builtin_clzl (i);