stor-layout.c (place_union_field): If any field was aligned with attribute aligned...
authorJakub Jelinek <jakub@redhat.com>
Wed, 24 Oct 2001 21:47:23 +0000 (23:47 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 24 Oct 2001 21:47:23 +0000 (23:47 +0200)
commitc163d21d79193fb3463998fe81395b0a9f81da55
treeae608d3d6e2328c23270d903f6faaa81040abc11
parent6dee3a2320540b9b654d9a5ef7626e90246ffe80
stor-layout.c (place_union_field): If any field was aligned with attribute aligned, set record type's TYPE_USER_ALIGN.

* stor-layout.c (place_union_field): If any field was aligned with
attribute aligned, set record type's TYPE_USER_ALIGN.
(place_field): Likewise.
(finalize_record_size): Don't clear TYPE_USER_ALIGN.
(layout_type) [ARRAY_TYPE]: Copy element's TYPE_USER_ALIGN.

From-SVN: r46475
gcc/ChangeLog
gcc/stor-layout.c