diff options
author | Jason Merrill <jason@redhat.com> | 2018-03-14 23:49:07 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2018-03-14 23:49:07 -0400 |
commit | e62d673d7844bb3862bae57b719f83a2a42413b4 (patch) | |
tree | e68f9cf1b8d37966c566b511223f632a00a7e942 /gcc/varasm.c | |
parent | b149eb04c87823dc2f0b9f141fbbc149fd21598a (diff) | |
download | gcc-e62d673d7844bb3862bae57b719f83a2a42413b4.zip gcc-e62d673d7844bb3862bae57b719f83a2a42413b4.tar.gz gcc-e62d673d7844bb3862bae57b719f83a2a42413b4.tar.bz2 |
PR c++/84801 - ICE with unexpanded pack in lambda.
We avoid complaining about unexpanded packs when inside a lambda,
since the lambda as a whole could be part of a pack expansion.
But that can only be true if the lambda is in a template context.
* pt.c (check_for_bare_parameter_packs): Don't return early for a
lambda in non-template context.
From-SVN: r258548
Diffstat (limited to 'gcc/varasm.c')
0 files changed, 0 insertions, 0 deletions