This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r267685 - in /branches/gcc-8-branch/gcc: cp/Cha...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 08 Jan 2019 09:55:26 -0000
- Subject: r267685 - in /branches/gcc-8-branch/gcc: cp/Cha...
Author: jakub
Date: Tue Jan 8 09:55:26 2019
New Revision: 267685
URL: https://gcc.gnu.org/viewcvs?rev=267685&root=gcc&view=rev
Log:
Backported from mainline
2018-11-21 Jakub Jelinek <jakub@redhat.com>
PR c++/88122
* method.c (maybe_explain_implicit_delete): If
FUNCTION_FIRST_USER_PARMTYPE (decl) is NULL, set const_p to false
instead of ICEing.
* g++.dg/cpp0x/implicit15.C: New test.
Added:
branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp0x/implicit15.C
Modified:
branches/gcc-8-branch/gcc/cp/ChangeLog
branches/gcc-8-branch/gcc/cp/method.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog