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

Reply via email to