Closed
Description
Bugzilla Link | 9264 |
Resolution | FIXED |
Resolved on | Feb 19, 2011 15:06 |
Version | trunk |
OS | Linux |
Blocks | #4440 |
Extended Description
clang -integrated-as first error with Linux kernel:
/home/edwin/builds/linux-2.6/arch/x86/include/asm/bitops.h:319:15: error: ambiguous instructions require an explicit suffix
(could be 'btw', 'btl', or 'btq')
asm volatile("bt %2,%1\n\t"
^
:1:2: note: instantiated into assembly here
bt $0,cpu_all_bits
^
asm volatile("bt %2,%1\n\t"
"sbb %0,%0"
: "=r" (oldbit)
: "m" (*(unsigned long *)addr), "Ir" (nr));