C++ PATCH for c++/58466 (ICE with variadics and partial specialization)

Jason Merrill jason@redhat.com
Wed Jan 29 20:54:00 GMT 2014

Here the problem was that when we built up A<'X'> the arguments to A 
were 'X' and the empty set for the parameter pack.  When we then use 
that to deduce the arguments for C, we got confused by the empty set and 
tried to treat it as another argument, leading to bad times.  Fixed by 
calling expand_template_argument_pack in unify_pack_expansion.

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

More information about the Gcc-patches mailing list