[LLVMbugs] [Bug 8352] New: llc emits improper .comm for PECOFF

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Oct 11 09:42:15 PDT 2010


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: unassignedbugs at nondot.org
        ReportedBy: geek4civic at gmail.com
                CC: llvmbugs at cs.uiuc.edu


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



More information about the llvm-bugs mailing list