PR c++/27279
* decl.c (copy_fn_p): Skip functions with invalid first arg.
* g++.dg/parse/ctor4.C: New test.
From-SVN: r113380
+2006-04-29 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
+ PR c++/27279
+ * decl.c (copy_fn_p): Skip functions with invalid first arg.
+
2006-04-19 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR c++/26558
return 0;
arg_type = TREE_VALUE (args);
+ if (arg_type == error_mark_node)
+ return 0;
if (TYPE_MAIN_VARIANT (arg_type) == DECL_CONTEXT (d))
{
+2006-04-29 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
+ PR c++/27279
+ * g++.dg/parse/ctor4.C: New test.
+
2006-04-25 Roger Sayle <roger@eyesopen.com>
PR target/26961
--- /dev/null
+// PR c++/27279
+// { dg-do compile }
+
+struct A
+{
+ A(void,void); // { dg-error "incomplete type|invalid use" }
+};