PR ada/62235
commitae182cb54f459f4fb327f8732e7ba5c27f53bfd5
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Sep 2017 09:47:21 +0000 (5 09:47 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Sep 2017 09:47:21 +0000 (5 09:47 +0000)
treec9d08c3878aec12faca42f7ea41f0941f72f3333
parent27e8da7e351f7e69111d46c2b0cea8bd753fdb53
PR ada/62235
* gcc-interface/decl.c (gnat_to_gnu_entity): Skip regular processing
for Itypes that are E_Record_Subtype with a cloned subtype.
<E_Record_Subtype>: Use the DECL of the cloned type directly, if any.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@251706 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/incomplete5.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/incomplete5.ads [new file with mode: 0644]
gcc/testsuite/gnat.dg/incomplete5_pkg.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/incomplete5_pkg.ads [new file with mode: 0644]