[LLVMbugs] [Bug 19933] New: Assertion `!GV->isDeclaration() && !GV->hasAvailableExternallyLinkage() failed

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jun 3 09:02:50 PDT 2014


            Bug ID: 19933
           Summary: Assertion `!GV->isDeclaration() &&
                    !GV->hasAvailableExternallyLinkage() failed
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jmuizelaar at mozilla.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

The following code triggers an assertion when compiled with 'clang-cl -c -m32

class A {
  A() : _Id() {}
  size_t _Id;
template <class, class, class> class codecvt {
  static A b;
template <class _Elem, class _Byte, class _Statype>
A codecvt<_Elem, _Byte, _Statype>::b;
template class __declspec(dllimport) codecvt<int, int, int>;

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/20140603/c43bf76e/attachment.html>

More information about the llvm-bugs mailing list