[LLVMbugs] [Bug 3678] New: Invalid input constraint when compiling FreeBSD' s libm on AMD64

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Feb 27 06:02:06 PST 2009


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

           Summary: Invalid input constraint when compiling FreeBSD's libm
                    on AMD64
           Product: new-bugs
           Version: unspecified
          Platform: Macintosh
               URL: http://svn.freebsd.org/viewvc/base/head/lib/msun/src/mat
                    h_private.h?view=markup
        OS/Version: Mac System 9.x
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: ed at 80386.nl
                CC: llvmbugs at cs.uiuc.edu, rdivacky at freebsd.org


When compiling the attached test case, one gets the following compiler error:

test.c:10:36: error: invalid input constraint 'Y' in asm
        asm("cvtsd2si %1,%0" : "=r" (n) : "Y" (x));

This error does not occur when compiling with GCC.


-- 
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