decl.c (vinfo_t): New type and associated vector.
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 26 May 2013 10:19:00 +0000 (10:19 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 26 May 2013 10:19:00 +0000 (10:19 +0000)
commit9580628d89a0e31314fcd893297ce550dd2ca0f8
treecd0f881787a23a37b0d2de3a74a8dea7978ffd7c
parent7cc15171bee9d4a62d4618741e85bb0342525ca2
decl.c (vinfo_t): New type and associated vector.

* gcc-interface/decl.c (vinfo_t): New type and associated vector.
(components_to_record): Change return type to bool.
Lay out the variants in two passes.  Do not force a specific layout for
the variant part if the variants do not have a representation clause.
Take the alignment of the variant part into account when laying out
variants without rep clause in a record type with a partial rep clause.
(create_rep_part): Do not set the position of the field.

From-SVN: r199342
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c