OSDN Git Service

* stor-layout.c (place_union_field): If any field was aligned with
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Oct 2001 21:47:23 +0000 (21:47 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Oct 2001 21:47:23 +0000 (21:47 +0000)
commite647551769827d68434acab38033cdc1fbeda627
treeae608d3d6e2328c23270d903f6faaa81040abc11
parenta15437e77609c89b52109c6ff36aa01bdc3f2a15
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46475 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/stor-layout.c