decl.c (gnat_to_gnu_entity): Also use the void pointer type if the designated type...
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 14 Jul 2016 11:12:22 +0000 (11:12 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 14 Jul 2016 11:12:22 +0000 (11:12 +0000)
commit8234d02aa47d9cba294b4263e47a336e9c67f5b1
treee287b2e3d8edcae34b5fd6a01c46dd42a2598056
parent0a2bf18874eb2c54202b9890f3b82776b08e55a1
decl.c (gnat_to_gnu_entity): Also use the void pointer type if the designated type is incomplete and has no...

* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Access_Type>: Also use
the void pointer type if the designated type is incomplete and has no
full view in LTO mode.
<E_Access_Protected_Subprogram_Type>: Adjust comment.
<E_Incomplete_Type>: Likewise.
* gcc-interface/trans.c (Call_to_gnu): Do not convert to the type of
the actual if it is a dummy type.

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