diff options
| author | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-11-20 10:03:11 +0000 |
|---|---|---|
| committer | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-11-20 10:03:11 +0000 |
| commit | 68e668ce5a62f178432a81ad8d4b7041318de51e (patch) | |
| tree | 8c3bf3eed49ecfca419ebe789652ad0382b632ed /libjava/classpath/lib/java/util/TreeMap$SubMap$EntrySet.class | |
| parent | 16e1106634e18bbf9a6154435e3ce4f373defa65 (diff) | |
| download | ppe42-gcc-68e668ce5a62f178432a81ad8d4b7041318de51e.tar.gz ppe42-gcc-68e668ce5a62f178432a81ad8d4b7041318de51e.zip | |
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: Adjust
call to components_to_record.
(components_to_record): Add FIRST_FREE_POS parameter. For the variant
part, reuse enclosing union even if there is a representation clause
on the Unchecked_Union. If there is a variant part, compute the new
first free position, if any. Adjust call to self. Use a single field
directly only if it hasn't got a representation clause or is placed at
offset zero. Create the variant part at offset 0 if all the fields
down to this level have a rep clause. Do not chain the variant part
immediately and adjust downstream.
Do not test ALL_REP before moving the fields without rep clause to the
previous level. Call create_rep_part to create the REP part and force
a minimum size on it if necessary. Do not chain it immediately.
Create a fake REP part if there are fields without rep clause that need
to be laid out starting from FIRST_FREE_POS.
At the end, chain the REP part and then the variant part.
(create_rep_part): New function.
(get_rep_part): Minor tweak.
* gcc-interface/utils.c (tree_code_for_record_type): Minor tweak.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181526 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/lib/java/util/TreeMap$SubMap$EntrySet.class')
0 files changed, 0 insertions, 0 deletions

