[LLVMbugs] [Bug 8855] New: [MC] 64-bit "-1" is 'invalid decimal number'

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Dec 25 11:40:36 PST 2010


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

           Summary: [MC] 64-bit "-1" is 'invalid decimal number'
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nlewycky at google.com
                CC: llvmbugs at cs.uiuc.edu


This file fails to assemble with llvm-mc:

  $ cat x.s
  movq 18446744073709551615,%rbx
  $ as x.s
  $ gcc -c x.s
  $ clang -c x.s
  x.s:1:7: error: Invalid decimal number
  movq $18446744073709551615,%rbx
        ^
  x.s:1:7: error: unknown token in expression
  movq $18446744073709551615,%rbx
        ^

That number is the 64-bit unsigned representation of "-1", by the way.

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