re PR c++/88122 (g++ ICE: internal compiler error: Segmentation fault)
authorJakub Jelinek <jakub@redhat.com>
Wed, 21 Nov 2018 22:42:09 +0000 (23:42 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 21 Nov 2018 22:42:09 +0000 (23:42 +0100)
commit208a53290430fc17e801c7cc8f0f0289184a2d86
tree9db02bb9b40cea390e3ac919bdee2797dae8ff4c
parente1389417f9bc364b49f8bef9583e34a8db3a4049
re PR c++/88122 (g++ ICE: internal compiler error: Segmentation fault)

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.

From-SVN: r266360
gcc/cp/ChangeLog
gcc/cp/method.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/implicit15.C [new file with mode: 0644]