diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2012-01-27 09:35:03 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2012-01-27 09:35:03 +0000 |
commit | 5f2e59d44bc4aa1dd5e2fd9d2b412b85519fb39d (patch) | |
tree | 2316952bdf1880a92959189d3c487e8302fcc19d /gcc/ada/gcc-interface/trans.c | |
parent | ae25db4568034756df727d432dd48caa5e5f41dc (diff) | |
download | gcc-5f2e59d44bc4aa1dd5e2fd9d2b412b85519fb39d.zip gcc-5f2e59d44bc4aa1dd5e2fd9d2b412b85519fb39d.tar.gz gcc-5f2e59d44bc4aa1dd5e2fd9d2b412b85519fb39d.tar.bz2 |
ada-tree.h (DECL_ALIASED_P): New flag.
* gcc-interface/ada-tree.h (DECL_ALIASED_P): New flag.
* gcc-interface/decl.c (is_variable_size): Rename to...
(type_has_variable_size): ...this.
(adjust_packed): Adjust to above renaming.
(gnat_to_gnu_field): Set DECL_ALIASED_P on the field.
(field_is_artificial): New predicate.
(field_is_aliased): Likewise.
(field_has_self_size): Likewise.
(field_has_variable_size): Likewise.
(components_to_record): Record information for the final layout during
the first pass on fields.
If there is an aliased field placed after a field whose length depends
on discriminants, put all the fields of the latter sort, last.
From-SVN: r183609
Diffstat (limited to 'gcc/ada/gcc-interface/trans.c')
0 files changed, 0 insertions, 0 deletions