diff options
author | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2012-11-23 10:42:50 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2012-11-23 10:42:50 +0000 |
commit | 29e100b31a77dcee0c57f7438e3a71007b18b52b (patch) | |
tree | 9dbc2f03652be5a6d21b9de8d0f15736f32e9aae /gcc/ada/gcc-interface/trans.c | |
parent | 1076781c1f312bf3ac2d19844b484b0ef0ca9c5d (diff) | |
download | gcc-29e100b31a77dcee0c57f7438e3a71007b18b52b.zip gcc-29e100b31a77dcee0c57f7438e3a71007b18b52b.tar.gz gcc-29e100b31a77dcee0c57f7438e3a71007b18b52b.tar.bz2 |
decl.c (components_need_strict_alignment): New.
* gcc-interface/decl.c (components_need_strict_alignment): New.
(components_to_record): Do not pack the variants if one of the fields
needs strict alignment. Likewise for the variant part as a whole.
Specify the position of the variants even if the size isn't specified,
but do not specify the size of the variant part in this case.
From-SVN: r193750
Diffstat (limited to 'gcc/ada/gcc-interface/trans.c')
0 files changed, 0 insertions, 0 deletions