decl.c (gnat_to_gnu_entity): When discriminants affect the shape of the subtype...
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 20 May 2009 08:29:05 +0000 (08:29 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 20 May 2009 08:29:05 +0000 (08:29 +0000)
commit3f6f0eb2e4a89be2eed80ad57bf003c3fc0aa210
treea1d15575a02c86f92afa7b0142475e7ae7b5ce3c
parent0328ae4d560fdd0e50c48c65660c489e36ab8ca5
decl.c (gnat_to_gnu_entity): When discriminants affect the shape of the subtype...

* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: When
discriminants affect the shape of the subtype, retrieve the GCC type
directly from the original field if the GNAT types for the field and
the original field are the same.

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