decl.c (require_complete_types_for_parms): Call layout_decl after we've completed the type.

* decl.c (require_complete_types_for_parms): Call layout_decl
	after we've completed the type.

From-SVN: r23743
This commit is contained in:
Jason Merrill 1998-11-21 16:20:55 +00:00 committed by Jason Merrill
parent 75fbcb7dd5
commit 42f989ffee
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
1998-11-21 Jason Merrill <jason@yorick.cygnus.com>
* decl.c (require_complete_types_for_parms): Call layout_decl
after we've completed the type.
1998-11-21 Martin von Löwis <loewis@informatik.hu-berlin.de>
* decl2.c (validate_nonmember_using_decl): Allow using templates

View File

@ -11015,6 +11015,8 @@ require_complete_types_for_parms (parms)
error ("parameter has incomplete type");
TREE_TYPE (parms) = error_mark_node;
}
else
layout_decl (parms, 0);
#if 0
/* If the arg types are incomplete in a declaration,
they must include undefined tags.