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:
parent
75fbcb7dd5
commit
42f989ffee
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user