decl.c (gnat_to_gnu_entity): Skip regular processing for Itypes that are E_Access_Sub...
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 22 May 2017 09:38:09 +0000 (09:38 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 22 May 2017 09:38:09 +0000 (09:38 +0000)
commitfbb1c7d4a061ae0f57d52b37ddf37933da859945
treee5b3b25705b1cb6996e6c1a91d7f490de80156c9
parent61890ff25a24b2ddb289c61c1e5fbcae6f9f613d
decl.c (gnat_to_gnu_entity): Skip regular processing for Itypes that are E_Access_Subtype.

* gcc-interface/decl.c (gnat_to_gnu_entity): Skip regular processing
for Itypes that are E_Access_Subtype.
<E_Access_Subtype>: Use the DECL of the base type directly.

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