[LLVMbugs] [Bug 19340] New: Crash when parsing specific template specialization code

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Apr 4 03:35:05 PDT 2014


            Bug ID: 19340
           Summary: Crash when parsing specific template specialization
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: lukas.kalbertodt at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 12344
  --> http://llvm.org/bugs/attachment.cgi?id=12344&action=edit
Terminal output + two generated files

clang++ crashes, when it parses the following code:

template <typename T>
struct Helper {
  template <std::size_t N>
  static void func(const T* m) {

template <typename T>
void Helper<T>::func<2>() {

Regardless of the correctness of the code, I guess a crash should not occur.

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/20140404/a01df6d3/attachment.html>

More information about the llvm-bugs mailing list