[LLVMbugs] [Bug 19980] New: ICE during LinkageComputer

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jun 9 00:27:11 PDT 2014


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

            Bug ID: 19980
           Summary: ICE during LinkageComputer
           Product: clang
           Version: 3.4
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: griffithzhw at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

When compiler below codes using clang 3.4, clang will ICE. I think we should
issue an msg or build pass. NOT ICE.

void f(int i)
{
  extern int i;
}


clang: /home/qshanz/work/source/llvm/tools/clang/lib/AST/Decl.cpp:1205: static
clang::LinkageInfo clang::LinkageComputer::getLVForDecl(const
clang::NamedDecl*, LVComputationKind): Assertion `!Old ||
Old->getCachedLinkage() == D->getCachedLinkage()' failed.

-- 
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/20140609/71548734/attachment.html>


More information about the llvm-bugs mailing list