decl.c (gnat_to_gnu_entity): Beep up comment on SAVED...
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 29 Jun 2019 09:01:27 +0000 (09:01 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 29 Jun 2019 09:01:27 +0000 (09:01 +0000)
commit7fddde954946c12ca4e960c8efcea8b6e9a482c8
tree8221ffdbfcb43bb4d9511b9668299105c311382d
parentdb53aa5c98f2698c11e74c755c78f9a32b15e28f
decl.c (gnat_to_gnu_entity): Beep up comment on SAVED...

* gcc-interface/decl.c (gnat_to_gnu_entity): Beep up comment on SAVED,
and tweak comment on the assertion about the scopes of Itypes.  Do not
skip the regular processing for Itypes that are E_Record_Subtype with
a Cloned_Subtype.  Get the Cloned_Subtype for every E_Record_Subtype
if the type is dummy and hasn't got its own freeze node.
<E_Record_Subtype>: Save again the DECL of the Cloned_Subtype, if any.
<E_Access_Subtype>: Save again the DECL of the equivalent type.
(Gigi_Equivalent_Type) <E_Access_Subtype>: New case.

From-SVN: r272822
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/specs/array5.ads [new file with mode: 0644]
gcc/testsuite/gnat.dg/specs/array5_pkg1.ads [new file with mode: 0644]
gcc/testsuite/gnat.dg/specs/array5_pkg2-g.ads [new file with mode: 0644]
gcc/testsuite/gnat.dg/specs/array5_pkg2.ads [new file with mode: 0644]