[LLVMbugs] [Bug 15315] New: label arithmetic not accepted in .space directive

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Feb 20 13:27:44 PST 2013


            Bug ID: 15315
           Summary: label arithmetic not accepted in .space directive
           Product: libraries
           Version: 3.2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM assembly language parser
          Assignee: unassignedbugs at nondot.org
          Reporter: roland at hack.frob.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

This assembly input:

        .long 1
        .space .-foo

generates this error:

    foo.s:3:9: error: expected absolute expression
        .space .-foo

In other assemblers such as the GNU assembler, it works fine.

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/20130220/c4e384b6/attachment.html>

More information about the llvm-bugs mailing list