decl.c (gnat_to_gnu_entity): Translate the Esize on entry only for elementary types...
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 11 Jun 2012 08:02:35 +0000 (08:02 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 11 Jun 2012 08:02:35 +0000 (08:02 +0000)
commit9cbad0a3624eb087ff3c05457aa41d5c595f5a85
treec5323547beeb6dc6bdf7344aedec86de9f171cc2
parentebf780036e6d8a464abe41017ccaa8b090f6d48d
decl.c (gnat_to_gnu_entity): Translate the Esize on entry only for elementary types and abort if it is too large.

* gcc-interface/decl.c (gnat_to_gnu_entity): Translate the Esize on
entry only for elementary types and abort if it is too large.
<E_Record_Type>: Make sure the Esize is known before using it.

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