[llvm-bugs] [Bug 35776] New: Crash in CodeGenModule::EmitCtorList

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Dec 30 06:50:47 PST 2017


            Bug ID: 35776
           Summary: Crash in CodeGenModule::EmitCtorList
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jascha at jawset.com
                CC: llvm-bugs at lists.llvm.org

// clang-cl /c -Xclang -std=c++14 -Xclang -fopenmp clang_static_ctor_ice.cc
#include <memory>

namespace some_ns {

template<class T>
struct S {
    static std::unique_ptr<S> m;

template<class T>
std::unique_ptr<S<T>> S<T>::m;

template class S<int>;


// Looks like I.AssociatedData in CodeGenModule.cpp:837 has an invalid type.

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/20171230/97b1b038/attachment.html>

More information about the llvm-bugs mailing list