C++ PATCH for c++/69009 (ICE with partial specialization of variable template)

Jason Merrill jason@redhat.com
Sun Jan 31 11:51:00 GMT 2016


In this testcase, instantiate_decl was trying to look up an 
instantiation of a partial specialization using the arguments for the 
partial specialization on the primary template, which finds a different 
instance of the template.  Fixed by reconstructing the arguments to the 
primary template.

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


More information about the Gcc-patches mailing list