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

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue May 13 14:21:20 PDT 2014


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

David Majnemer <david.majnemer at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #1 from David Majnemer <david.majnemer at gmail.com> ---
MSVC violates the standard using this mangling. A consequence of this is that
the following specializations are mangled differently even though they should
be considered to be the same:
template <typename T> void f(T);
template <> void f(int[]){}
template <> void f<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/20140513/1edc4e2a/attachment.html>


More information about the llvm-bugs mailing list