[LLVMbugs] [Bug 16974] New: Crash in debug info generation for inherited constructors of template specializations that use default template arguments.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Aug 22 13:54:01 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=16974

            Bug ID: 16974
           Summary: Crash in debug info generation for inherited
                    constructors of template specializations that use
                    default template arguments.
           Product: clang
           Version: trunk
          Hardware: PC
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: sebastian.redl at getdesigned.at
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Clang crashes when generating debug info (-gdwarf-2) in a program that contains
a constructor inherited from a template partial specialization, that uses a
default template argument for SFINAE tricks.

Two test cases that are very similar, but lead to slightly different crashes. I
think they're the same underlying bug though, or at least two closely related
bugs.

Tested on MacOS X 10.6 with tip-of-tree Release+Asserts Clang.
/usr/local/bin/clang -cc1 -emit-obj -gdwarf-2 -disable-free -O0 -Werror
-std=c++11 -x c++ concat-bug1.cpp
/usr/local/bin/clang -cc1 -emit-obj -gdwarf-2 -disable-free -O0 -Werror
-std=c++11 -x c++ concat-bug3.cpp

-- 
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/20130822/2c9bb2b0/attachment.html>


More information about the llvm-bugs mailing list