[LLVMbugs] [Bug 23625] New: Assertion failed: !SpecializedTemplate.is<SpecializedPartialSpecialization*>() && "Already set to a class template partial specialization!"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu May 21 16:37:53 PDT 2015


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

            Bug ID: 23625
           Summary: Assertion failed:
                    !SpecializedTemplate.is<SpecializedPartialSpecializati
                    on*>() && "Already set to a class template partial
                    specialization!"
           Product: clang
           Version: 3.6
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: s_bugzilla at nedprod.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Proposed Boost.AFIO has been generating this assertion fail for some time on
clang's >= 3.4 on ARM and Windows that I know of. I had simply been recompiling
clang with assertions disabled or falling back to clang 3.3 and all is well,
however I saw Chandler at C++ Now last week and he got annoyed with me for not
reporting it. So here it is.

I see a number of bug reports with this exact same assertion fail. I'll link
them shortly.

On Windows using the binaries for clang 3.6 from the LLVM website:

Assertion failed: !SpecializedTemplate.is<SpecializedPartialSpecialization*>()
&& "Already set to a class template partial specialization!", file
D:\src\llvm_release_build_3.6.0-final\llvm\tools\clang\include\clang/AST/DeclTemplate.h,
line 1575
clang++.exe: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.6.0 (tags/RELEASE_360/final)
Target: i686-pc-windows-gnu
Thread model: posix
clang++.exe: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang++.exe: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang++.exe: note: diagnostic msg:
C:\Users\ned\AppData\Local\Temp\test_all-5f72f9.cpp
clang++.exe: note: diagnostic msg:
C:\Users\ned\AppData\Local\Temp\SpookyV2-32765c.cpp
clang++.exe: note: diagnostic msg:
C:\Users\ned\AppData\Local\Temp\test_all-5f72f9.sh
clang++.exe: note: diagnostic msg: 

********************

-- 
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/20150521/c84e35f1/attachment.html>


More information about the llvm-bugs mailing list