C++ PATCH for c++/42466 (multiple instantiations of template class with template constructor failing)

Jason Merrill jason@redhat.com
Wed Dec 23 00:55:00 GMT 2009


The problem was that when we went to instantiate the member template, 
when creating the TEMPLATE_PARM_INDEX for the member template's non-type 
parameter, we saw that we already had one from a previous instantiation 
and didn't notice that the type was wrong.  Fixed by checking the type.

Tested x86_64-pc-linux-gnu, applied to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 42466.patch
Type: text/x-patch
Size: 1321 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20091223/6b6ae875/attachment.bin>


More information about the Gcc-patches mailing list