Add prototypes for layout_record and layout_union.
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 28 Jun 1993 01:14:04 +0000 (21:14 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 28 Jun 1993 01:14:04 +0000 (21:14 -0400)
commit5e9bec999ea3f54fc6abfabc9d43bacfdd550892
tree389918c825ddc54d4c8b37ba134c9a83bac5395e
parent457a2d9ce658ff0e39f6c0b7bf23de5470e4c7a8
Add prototypes for layout_record and layout_union.

(smallest_mode_for_size): New function.
(variable_size): Allow variable sizes if global_bindings_p returns a negative
value.
(mode_for_size): Fix incorrect comment.
(layout_decl): If DECL has a size already, don't copy from type.
(layout_type, case INTEGER_TYPE, ENUMERAL_TYPE): Use smallest integer mode
that fits, whether or not it fits exactly.

From-SVN: r4776
gcc/stor-layout.c