decl.c (Gigi_Equivalent_Type): Make sure equivalent types are present before returnin...
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 6 Jun 2016 10:03:14 +0000 (10:03 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 6 Jun 2016 10:03:14 +0000 (10:03 +0000)
commit42a5e4106a9418be069f14796112b069833e8fb1
treeefc4ba3cae55863c40aeb0f4a0ccf5e96a83e8df
parentf8a9b81f106b8e37893d643f93458195702c6c98
decl.c (Gigi_Equivalent_Type): Make sure equivalent types are present before returning them.

* gcc-interface/decl.c (Gigi_Equivalent_Type): Make sure equivalent
types are present before returning them.  Remove final assertion.
(gnat_to_gnu_entity) <E_Access_Protected_Subprogram_Type>: Adjust to
above change.
<E_Protected_Type>: Likewise.

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