Closed
Description
Bugzilla Link | 8332 |
Resolution | WONTFIX |
Resolved on | Apr 08, 2011 13:28 |
Version | unspecified |
OS | Linux |
Reporter | LLVM Bugzilla Contributor |
Extended Description
Both gcc and llvm-gcc from LLVM 2.7 accept this, however latest llvm-gcc says:
$ llvm-gcc -S asm-4.c
error: invalid operand in inline asm: 'test2 X${0:a}Y${0:a}Z'
This is on x86-64 linux. Testcase:
int main()
{
int z;
asm volatile ("test2 X%a0Y%a[arg]Z" : : [arg] "p" (&z));
}