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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to