C++ PATCH for c++/66289 (ICE with alias-template)
Jason Merrill
jason@redhat.com
Wed Jun 10 13:11:00 GMT 2015
My patch for DR 1558 broke this testcase: suppressing the stripping of
alias template-ids with dependent arguments prevented us from
recognizing that APtr<T> is more specialized than shared_ptr<T>. At the
Lenexa meeting we in Core talked about establishing a category of alias
templates that are actually equivalent to their expansions, based
largely on whether all the template parameters are used. This patch
implements that idea, and fixes the testcase.
Tested x86_64-pc-linux-gnu, applying to trunk and 5.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 66289.patch
Type: text/x-patch
Size: 3514 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150610/6197d59d/attachment.bin>
More information about the Gcc-patches
mailing list