[LLVMbugs] [Bug 18204] New: [-cxx-abi microsoft] Cannot mangle some anonymous tag types

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Dec 10 17:45:20 PST 2013


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

            Bug ID: 18204
           Summary: [-cxx-abi microsoft] Cannot mangle some anonymous tag
                    types
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: rnk at google.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

$ cat t.cpp
template<typename T> int f(T *);
static union {
  int n = f(this);
};

$ clang-cl t.cpp -c
Assertion failed: II && "Attempt to mangle unnamed decl.", file
..\tools\clang\lib\CodeGen\CodeGenModule.cpp, line 496

Yep, that's a bug.

-- 
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/20131211/a2b019ed/attachment.html>


More information about the llvm-bugs mailing list