diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2012-04-30 08:31:29 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2012-04-30 08:31:29 +0000 |
commit | b38086f06abab6f679bc6e63d833b8d853a5e04f (patch) | |
tree | 344606836405cdc8b8aabc044d626774a697e93e /libcpp | |
parent | bb358f1cd9fbf80190bfcc77fea21237d6f5a44d (diff) | |
download | gcc-b38086f06abab6f679bc6e63d833b8d853a5e04f.zip gcc-b38086f06abab6f679bc6e63d833b8d853a5e04f.tar.gz gcc-b38086f06abab6f679bc6e63d833b8d853a5e04f.tar.bz2 |
decl.c (gnat_to_gnu_entity): In type annotation mode...
* gcc-interface/decl.c (gnat_to_gnu_entity): In type annotation mode,
do not adjust the size of a tagged type if there is a representation
clause on it. Otherwise, round the adjustment up to the alignment
of the first field and use the appropriate helper routine.
(maybe_pad_type): Do not warn in type annotation mode on a tagged type.
(gnat_to_gnu_field): Do not error out under the same circumstances.
(annotate_rep): In type annotation mode, do not adjust the offset of
components of a tagged type with representation clause. Otherwise,
round the adjustment up to the alignment of the first field.
From-SVN: r186961
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions