PR c++/27422
* typeck.c (convert_arguments): Return early on args with
invalid types.
* g++.dg/conversion/void1.C: New test.
From-SVN: r113570
+2006-05-06 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
+ PR c++/27422
+ * typeck.c (convert_arguments): Return early on args with
+ invalid types.
+
2006-04-30 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR c++/27278
tree type = typetail ? TREE_VALUE (typetail) : 0;
tree val = TREE_VALUE (valtail);
- if (val == error_mark_node)
+ if (val == error_mark_node || type == error_mark_node)
return error_mark_node;
if (type == void_type_node)
+2006-05-06 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
+ PR c++/27422
+ * g++.dg/conversion/void1.C: New test.
+
2006-05-03 Roger Sayle <roger@eyesopen.com>
PR c/25309
--- /dev/null
+// PR c++/27422
+// { dg-do compile }
+
+void foo(void i); // { dg-error "incomplete type|invalid use" }
+void bar() { foo(0); }