[LLVMbugs] [Bug 19733] New: MS ABI: Bad mangling for arrays in function template arguments

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue May 13 08:27:06 PDT 2014


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

            Bug ID: 19733
           Summary: MS ABI: Bad mangling for arrays in function template
                    arguments
           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> void f(T) {}
template void f(int[]);

we mangle it as:
??$f at PAH@@YAXPAH at Z - void __cdecl f<int *>(int *)

they mangle it as:
??$f at QAH@@YAXQAH at Z - void __cdecl f<int * const>(int * const)

-- 
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/20140513/a28abfc1/attachment.html>


More information about the llvm-bugs mailing list