C++ PATCH for c++/54653 (ICE with missing template-header)

Jason Merrill jason@redhat.com
Thu Dec 6 14:26:00 GMT 2012


In this PR, we have a partial specialization of a member of a partial 
specialization, and we were confused into thinking that we only needed 
one template-header.  The parser.c hunk makes us generate the 
appropriate error.

The pt.c hunks fix the compiler to deal with it properly if it had been 
valid, since I expect we will allow explicit specialization of members 
of templates in the future.

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


More information about the Gcc-patches mailing list