re PR c++/92447 (ICE in poplevel, at cp/decl.c:585)
authorJakub Jelinek <jakub@redhat.com>
Mon, 11 Nov 2019 21:31:29 +0000 (22:31 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 11 Nov 2019 21:31:29 +0000 (22:31 +0100)
commit48042bd43e0b0407748a110ef8e917827f0fe422
treeafe20565959e1676a84de50466c70c5055c2a617
parent4f67832ee1e9929d76bc05cd5daa1c2cf12d0dd0
re PR c++/92447 (ICE in poplevel, at cp/decl.c:585)

PR c++/92447
* decl.c (finish_function): Move ctype initialization before
DECL_DELETED_FN handling.

* g++.dg/cpp0x/pr92447.C: New test.

From-SVN: r278068
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/pr92447.C [new file with mode: 0644]