[LLVMbugs] [Bug 10156] New: llvm-as incorrectly flags multiple declarations as multiple definitions

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Jun 19 08:30:59 PDT 2011


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

           Summary: llvm-as incorrectly flags multiple declarations as
                    multiple definitions
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: matt at pharr.org
                CC: llvmbugs at cs.uiuc.edu


If a function is declared multiple times in bitcode, TOT now issues an error
about it being multiply defined:

% echo "declare i1 @foo()\ndeclare i1 @foo()\n" | llvm-as
llvm-as: <stdin>:2:12: error: invalid redefinition of function 'foo'
declare i1 @foo()
           ^
%

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