* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104489
138bc75d-0d04-0410-961f-
82ee72b054a4
+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-20 Jakub Jelinek <jakub@redhat.com>
PR c++/23947
{
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
* g++.dg/lookup/error1.C: New test.
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" "" }
}