Skip to content

llvm-gcc inline asm regression wrt 2.7 #8704

Closed
@llvmbot

Description

@llvmbot
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));
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillawontfixIssue is real, but we can't or won't fix it. Not invalid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions