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

            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: unassignedclangb...@nondot.org
          Reporter: jas...@jawset.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to