[Bug c++/88869] [7/8 Regression] ICE (Segmentation Fault) when using lambda

2019-02-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88869

Jason Merrill  changed:

   What|Removed |Added

Summary|[7/8/9 Regression] ICE  |[7/8 Regression] ICE
   |(Segmentation Fault) when   |(Segmentation Fault) when
   |using lambda|using lambda

--- Comment #5 from Jason Merrill  ---
Fixed on trunk so far.

[Bug c++/88869] [7/8 Regression] ICE (Segmentation Fault) when using lambda

2019-03-08 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88869

--- Comment #6 from Jason Merrill  ---
Author: jason
Date: Fri Mar  8 21:40:21 2019
New Revision: 269513

URL: https://gcc.gnu.org/viewcvs?rev=269513&root=gcc&view=rev
Log:
PR c++/88869 - C++17 ICE with CTAD and explicit specialization.

The members of an explicit specialization of a class template don't have the
template parameters of that class template, so we shouldn't try to provide
arguments for them.  Only set outer_args when the class is an instantiation.

* pt.c (do_class_deduction): Don't include explicit specialization
args in outer_args.

Added:
branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp1z/class-deduction63.C
Modified:
branches/gcc-8-branch/gcc/cp/ChangeLog
branches/gcc-8-branch/gcc/cp/pt.c

[Bug c++/88869] [7/8 Regression] ICE (Segmentation Fault) when using lambda

2019-11-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88869

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|7.5 |8.4

--- Comment #7 from Richard Biener  ---
The GCC 7 branch is being closed, re-targeting to GCC 8.4.