re PR c++/14033 (tree check: expected class 't', have 'x' (error_mark) in initialize_inlined_parameters, at tree-inline.c:829)

PR c++/14033
	* decl.c (require_complete_types_for_parms): Do not insert
	error_mark_node in the parameter list.

From-SVN: r77436
This commit is contained in:
Giovanni Bajo 2004-02-07 02:08:36 +00:00
parent 7a174c8b8c
commit 2500bbb69d
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2003-02-06 Giovanni Bajo <giovannibajo@gcc.gnu.org>
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 <giovannibajo@gcc.gnu.org>
PR c++/14028

View File

@ -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;
}
}