aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/trans.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2014-01-20 10:51:46 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2014-01-20 10:51:46 +0000
commit44e9e3ec85bf048bcb73f7a013afbd573466972e (patch)
tree0abf9652349928c6a4a433eef4046071074ba0cb /gcc/ada/gcc-interface/trans.c
parent59f5c969a5c5ac08e450ae74c260d57db574a5d0 (diff)
downloadgcc-44e9e3ec85bf048bcb73f7a013afbd573466972e.zip
gcc-44e9e3ec85bf048bcb73f7a013afbd573466972e.tar.gz
gcc-44e9e3ec85bf048bcb73f7a013afbd573466972e.tar.bz2
decl.c (gnat_to_gnu_entity): Tidy up.
* gcc-interface/decl.c (gnat_to_gnu_entity) <case E_Record_Subtype>: Tidy up. For a subtype with discriminants and variant part, if a variant is statically selected and the fields all have a constant position, put them in order of increasing position. Likewise if no variant part but representation clause is present. * gcc-interface/utils.c (make_packable_type): Robustify. (maybe_pad_type): Use local variable and tidy up condition. If no alignment is specified, use the original one. (create_type_stub_decl): Minor tweak. (convert) <case VECTOR_CST>: Fix typo. <case CONSTRUCTOR>: Deal with padding types around the same type. Do not punt on missing fields. (unchecked_convert): Call finish_record_type to lay out the special record types made for conversions from/to problematic integer types. Bump the alignment of CONSTRUCTORs before converting them to a more aligned type. From-SVN: r206796
Diffstat (limited to 'gcc/ada/gcc-interface/trans.c')
0 files changed, 0 insertions, 0 deletions