C++ PATCH for variable template partial specialization bug

Jason Merrill jason@redhat.com
Wed May 20 21:40:00 GMT 2015


register_specialization complains about a specialization in a different 
namespace from the main template; we shouldn't give that error about an 
instantiation of a partial specialization.  And we were about to 
SET_DECL_IMPLICIT_INSTANTIATION anyway, so let's just do that before we 
call register_specialization.

Tested x86_64-pc-linux-gnu, applying to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: var-partial-ns.patch
Type: text/x-patch
Size: 1183 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150520/f52977db/attachment.bin>


More information about the Gcc-patches mailing list