[LLVMbugs] [Bug 20389] New: clang's error message for inline-asm constraint "=f" should be more user-friendly

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jul 21 14:33:05 PDT 2014


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

            Bug ID: 20389
           Summary: clang's error message for inline-asm constraint "=f"
                    should be more user-friendly
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: ahatanak at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

clang issues the following error message upon encountering constraint "=f":

error: invalid output constraint '=f' in asm

Rather than simply saying the constraint is invalid, it would be better to
print a message that informs the user how the error can be corrected. For
example, gcc prints the following message:

error: output constraint 0 must specify a single register

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140721/ed609bfb/attachment.html>


More information about the llvm-bugs mailing list