C++ PATCH for c++/85049, ICE with integer_sequence

Jason Merrill jason@redhat.com
Mon Mar 26 15:19:00 GMT 2018


In this testcase, we tried to deduce template arguments between
__integer_pack(sizeof...(_Types)) and an empty argument list.  This
breaks, and we shouldn't try anyway, since that's very much a
non-deduced context.  So let's skip over packs that aren't actual
template parameter packs.

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


More information about the Gcc-patches mailing list