decl.c (gnat_to_gnu_entity): During layout in type_annotate_only mode...
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 20 Dec 2015 10:30:27 +0000 (10:30 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 20 Dec 2015 10:30:27 +0000 (10:30 +0000)
commitc00d5b12b08040fe0d8ee5168b612bf125e21566
tree3d14385013f62adc777b2477fd1703d21cb760ff
parent80746f5d88a60d13bc63f2f76a9dc547261b9601
decl.c (gnat_to_gnu_entity): During layout in type_annotate_only mode...

* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: During
layout in type_annotate_only mode, skip discriminants of derived
tagged types renaming those of the parent type.
In type_annotate_only mode, if the type is tagged, do not override a
size clause but take into account the alignment of the tag.
(annotate_rep): In type_annotate_only mode, deal with  discriminants
of derived tagged types renaming those of the parent type.

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