https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85028
--- Comment #4 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> --- Author: paolo Date: Wed Mar 28 19:21:41 2018 New Revision: 258932 URL: https://gcc.gnu.org/viewcvs?rev=258932&root=gcc&view=rev Log: /cp 2018-03-28 Paolo Carlini <paolo.carl...@oracle.com> PR c++/85028 * pt.c (tsubst_default_argument): Early return if the type of the parameter is erroneous. /testsuite 2018-03-28 Paolo Carlini <paolo.carl...@oracle.com> PR c++/85028 * g++.dg/other/default13.C: New. Added: trunk/gcc/testsuite/g++.dg/other/default13.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c trunk/gcc/testsuite/ChangeLog