Skip to content

Asm "p" constraint rejected #10060

Open
Open
@llvmbot

Description

@llvmbot
Bugzilla Link 9688
Version 2.9
OS Linux
Blocks llvm/llvm-bugzilla-archive#10988
Reporter LLVM Bugzilla Contributor
CC @RKSimon

Extended Description

From gcc testcase asm-4.c:

int main()
{
  int z;
  asm volatile ("test2 X%a0Y%a[arg]Z" : : [arg] "p" (&z));
}

Both clang and dragonegg reject this. See #8704 for discussion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions