[LLVMbugs] [Bug 9688] New: Asm "p" constraint rejected

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Apr 12 10:06:36 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=9688

           Summary: Asm "p" constraint rejected
           Product: new-bugs
           Version: 2.9
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: baldrick at free.fr
                CC: llvmbugs at cs.uiuc.edu


>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 PR8332 for discussion.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list