C++ PATCH for c++/84839, ICE with decltype of parameter pack

Jason Merrill jason@redhat.com
Tue Mar 13 19:49:00 GMT 2018

The comment says that the parameter pack is being used in an
unevaluated context, but at the point where we're substituting the
pack, we aren't necessarily actually in that unevaluated context, so
let's set the flag here.

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

More information about the Gcc-patches mailing list