PR c++/23965
* call.c (resolve_args): Return error_mark_node on arguments
whose TREE_TYPE is error_mark_node.
* g++.dg/template/error1.C: Reject "no matching function" message.
From-SVN: r104490
+2005-09-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
+ PR c++/23965
+ * call.c (resolve_args): Return error_mark_node on arguments
+ whose TREE_TYPE is error_mark_node.
+
2005-09-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR c++/17609
{
tree arg = TREE_VALUE (t);
- if (arg == error_mark_node)
+ if (arg == error_mark_node || error_operand_p (arg))
return error_mark_node;
else if (VOID_TYPE_P (TREE_TYPE (arg)))
{
+2005-09-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
+ PR c++/23965
+ * g++.dg/template/error1.C: Reject "no matching function" message.
+
2005-09-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR c++/17609
void foo(){
struct fps_chan_ID fps; // { dg-error "incomplete" "" }
- make_pair(fps); // { dg-error "no matching function" "" }
+ make_pair(fps); // { dg-bogus "no matching function" "" }
}