decl.c (gnat_to_gnu_field): Use the type of the inner object for a JM type only if...
authorEric Botcazou <ebotcazou@act-europe.fr>
Wed, 27 Oct 2004 12:29:59 +0000 (14:29 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 27 Oct 2004 12:29:59 +0000 (14:29 +0200)
commitd63c70024d2ecd3016851acedf8655ef586e8beb
treece1480ad72468fb81b69e69e0a00112d786be812
parent9f1621753772745306133818df81270a1d758a88
decl.c (gnat_to_gnu_field): Use the type of the inner object for a JM type only if...

2004-10-26  Eric Botcazou  <ebotcazou@act-europe.fr>

* decl.c (gnat_to_gnu_field): Use the type of the inner object for a
JM type only if its size matches that of the wrapper.  When a size is
prescribed and the field is not aliased, remove the wrapper of a JM
type only if the size is not greater than that of the packed array.
(gnat_to_gnu_entity): Change the extension of packed array wrappers
from LJM to JM.

From-SVN: r89647
gcc/ada/decl.c