[LLVMbugs] [Bug 17019] New: findInstantiationOf: Assertion `isa<LabelDecl>(D) && "declaration not instantiated in this scope"' failed

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Aug 27 18:52:37 PDT 2013


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

            Bug ID: 17019
           Summary: findInstantiationOf: Assertion `isa<LabelDecl>(D) &&
                    "declaration not instantiated in this scope"' failed
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: j3parker at uwaterloo.ca
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 11110
  --> http://llvm.org/bugs/attachment.cgi?id=11110&action=edit
crash log, source code etc.

compile the attached ouch.cc with clang++ --std=c++11 and the following
assertion fails:

clang:
/home/j3parker/src/llvm/tools/clang/lib/Sema/SemaTemplateInstantiate.cpp:2758:
llvm::PointerUnion<clang::Decl*, llvm::SmallVector<clang::Decl*, 4u>*>*
clang::LocalInstantiationScope::findInstantiationOf(const clang::Decl*):
Assertion `isa<LabelDecl>(D) && "declaration not instantiated in this scope"'
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/20130828/aa32e2fa/attachment.html>


More information about the llvm-bugs mailing list