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:
parent
7a174c8b8c
commit
2500bbb69d
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user