* decl.c (copy_fn_p): Skip functions with invalid first arg.
* g++.dg/parse/ctor4.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113378
138bc75d-0d04-0410-961f-
82ee72b054a4
+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-27 Mark Mitchell <mark@codesourcery.com>
PR c++/27292
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-29 Francois-Xavier Coudert <coudert@clipper.ens.fr>
PR fortran/25681
--- /dev/null
+// PR c++/27279
+// { dg-do compile }
+
+struct A
+{
+ A(void,void); // { dg-error "incomplete type|invalid use" }
+};