c-common.c (decl_attributes, [...]): Don't call layout_decl for FIELD_DECL.

* c-common.c (decl_attributes, case A_MODE): Don't call layout_decl
	for FIELD_DECL.

From-SVN: r43682
This commit is contained in:
Richard Kenner 2001-07-01 23:23:28 +00:00 committed by Richard Kenner
parent 1cc5e43240
commit 21266f819a
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Sun Jul 1 11:53:52 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* c-common.c (decl_attributes, case A_MODE): Don't call layout_decl
for FIELD_DECL.
2001-07-01 Geoffrey Keating <geoffk@redhat.com>
* doc/tm.texi (FUNCTION_ARG): Document that the last call

View file

@ -970,7 +970,8 @@ decl_attributes (node, attributes, prefix_attributes)
TREE_UNSIGNED (type) ? "uintmax_t" : "intmax_t");
TREE_TYPE (decl) = type = typefm;
DECL_SIZE (decl) = DECL_SIZE_UNIT (decl) = 0;
layout_decl (decl, 0);
if (TREE_CODE (decl) != FIELD_DECL)
layout_decl (decl, 0);
}
}
break;