[llvm-bugs] [Bug 25174] New: Clang crashes compiling template class

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Oct 14 04:29:19 PDT 2015


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

            Bug ID: 25174
           Summary: Clang crashes compiling template class
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: f.aurich at technisat.de
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 15078
  --> https://llvm.org/bugs/attachment.cgi?id=15078&action=edit
Crashing  test program + crash diagnostics

Clang 3.8 on Linux crashes when trying to compile the test program (see
attachments).
Using Clang 3.5.2 on Cygwin produces the same result.
GCC however, compiles cleanly.

If you comment line 47 of the test program and uncomment line 48, clang
compiles fine as well.

The attachment includes the verbatim test program, plus backtrace from clang
and the diagnostics files.

-- 
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/20151014/4c958ac5/attachment.html>


More information about the llvm-bugs mailing list