decl.c (gnat_to_gnu_entity): When processing the parent type...
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 24 Oct 2009 11:12:21 +0000 (11:12 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 24 Oct 2009 11:12:21 +0000 (11:12 +0000)
commite99c3ccc40fac2b63c005b2bdc7ef3a18e74cb07
tree718c8faf34e1b5d93a9fcd050d8271216bc9a9b7
parent2f18d9afae52f1cb10d5cb9e7d1fdbe4dc8710f0
decl.c (gnat_to_gnu_entity): When processing the parent type...

* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: When
processing the parent type, build the COMPONENT_REF for a discriminant
with the proper type.

From-SVN: r153528
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/specs/pack4.ads [new file with mode: 0644]