[LLVMbugs] [Bug 21661] Clang crashes on valid(?) explicit instantiation

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Nov 24 17:31:20 PST 2014


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

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|---                         |DUPLICATE

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
The handling of this case is core issue 1665; IIRC the resolution will be that
we should prefer the non-template in this case (the current core wording would
prefer the template). You can instead instantiate the template by using
'template void S<char>::foo<>(int);', in exactly the same way that a call to
foo(0) would pick the non-template and a call to foo<>(0) would pick the
template).

*** This bug has been marked as a duplicate of bug 14211 ***

-- 
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/20141125/f9011772/attachment.html>


More information about the llvm-bugs mailing list