[LLVMbugs] [Bug 19966] New: Segfault on 'template <enum E>' when 'std::underlying_type<E>' is mentioned
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Jun 5 23:56:58 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=19966
Bug ID: 19966
Summary: Segfault on 'template <enum E>' when
'std::underlying_type<E>' is mentioned
Product: clang
Version: 3.4
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: m8r-51ou61 at monumentmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 12620
--> http://llvm.org/bugs/attachment.cgi?id=12620&action=edit
Preprocessed source
Clang correctly diagnoses that 'enum E' is disallowed in the template
declaration, however, it segfaults afterwards. If std::underlying_type<E> is
removed, the segfault does not occur. Other templates such as std::vector<E> or
std::is_enum<E> do not trigger the error, nor does the mention of a
non-existent type (e.g. Bar<E>).
Platform is Linux x86_64 with Clang 3.4.1 and libstdc++ 3.3.6.
--
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/20140606/a692f992/attachment.html>
More information about the llvm-bugs
mailing list