[LLVMbugs] [Bug 20047] New: MS ABI: Template aliases crash clang

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Jun 15 21:04:57 PDT 2014


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

            Bug ID: 20047
           Summary: MS ABI: Template aliases crash clang
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: david.majnemer at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

consider:
template <typename T>
struct vector {};

template <typename T>
using Vec = vector<T>;

template <template <typename> class>
void h();

void z() {
  h<Vec>();
}

run with:
~/llvm/build/bin/clang -cc1 -x c++ -triple i386-pc-win32
/var/tmp/mangle-alias-template.cpp -emit-llvm -std=c++11 -fms-compatibility -o
-

-- 
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/20140616/e4bae64c/attachment.html>


More information about the llvm-bugs mailing list