[llvm-bugs] [Bug 31460] New: Assertion `result && "no existing substitution for template name

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Dec 23 09:04:30 PST 2016


https://llvm.org/bugs/show_bug.cgi?id=31460

            Bug ID: 31460
           Summary: Assertion `result && "no existing substitution for
                    template name
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: carlphilippreh at gmail.com
                CC: dgregor at apple.com, llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 17779
  --> https://llvm.org/bugs/attachment.cgi?id=17779&action=edit
Testcase

I reduced the attached code from a project of mine, which when compiled with
clang trunk results in 

clang/lib/AST/ItaniumMangle.cpp:4289: void
{anonymous}::CXXNameMangler::mangleExistingSubstitution(clang::TemplateName):
Assertion `result && "no existing substitution for template name"' failed.

Using clang++ -std=c++11 test.cpp is enough to reproduce the crash.

clang-3.9.1 compiles the code without any issues.

-- 
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/20161223/ddc738bf/attachment.html>


More information about the llvm-bugs mailing list