decl.c (gnat_to_gnu_entity): Translate System.Address into ptr_type_node for every...
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 7 Dec 2016 11:47:25 +0000 (11:47 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 7 Dec 2016 11:47:25 +0000 (11:47 +0000)
commitf2e04c79ac2c4ffff6bc527afdc1b0311b79e36a
tree8b209e7ef3aee08090d36a46b566d58761eb6b32
parentaa35e3ba8ef4cd36991a877063632edef552068b
decl.c (gnat_to_gnu_entity): Translate System.Address into ptr_type_node for every foreign convention.

* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Variable>: Translate
System.Address into ptr_type_node for every foreign convention.
(gnat_to_gnu_subprog_type): Likewise for result and parameter types.
(gnat_to_gnu_param): Do not do it here for GCC builtins.
(intrin_return_compatible_p): Likewise.

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