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

           Summary: llc emits improper .comm for PECOFF
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


$ echo '@foo = common global i32 0, align 4' | Release+Asserts/bin/llc.exe
-mtriple=i686-cygwin
        .comm   _foo,4,2                # @foo
                                        # @foo

$ echo '@foo = common global i32 0, align 4' | Release+Asserts/bin/llc.exe
-mtriple=i686-cygwin | as
{standard input}: Assembler messages:
{standard input}:1: Error: junk at end of line, first unrecognized character is
`,'


--

It is valid;
$ echo '.comm _foo,4' | as

-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to