OSDN Git Service

2004-10-26 Eric Botcazou <ebotcazou@act-europe.fr>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Oct 2004 12:29:59 +0000 (12:29 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Oct 2004 12:29:59 +0000 (12:29 +0000)
commit4629d84137e3c61f16c2f1b2cd2cc6f1c08d8cd8
treece1480ad72468fb81b69e69e0a00112d786be812
parent8be06f9c8e4d6139f16ab569cea945066fbeac63
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89647 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/decl.c