diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 285fa86c785..9e712b6a177 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,9 @@ +2003-02-06 Giovanni Bajo + + PR c++/14033 + * decl.c (require_complete_types_for_parms): Do not insert + error_mark_node in the parameter list. + 2003-02-06 Giovanni Bajo PR c++/14028 diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index cc309579736..86cee367a07 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -8467,8 +8467,6 @@ require_complete_types_for_parms (tree parms) layout_decl (parms, 0); DECL_ARG_TYPE (parms) = type_passed_as (TREE_TYPE (parms)); } - else - TREE_TYPE (parms) = error_mark_node; } }