decl.c (gnat_to_gnu_entity): If the subprogram has copy-in copy-out parameters...
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 24 Jul 2011 13:14:17 +0000 (13:14 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 24 Jul 2011 13:14:17 +0000 (13:14 +0000)
commit7d5997c66ce2a2463f8a911f6217c30759f765ce
tree2f35d4c94eceb2298ff716cc0effe45080b9e450
parent4b4cfdd5e1104810953caefe50729f87e79239ec
decl.c (gnat_to_gnu_entity): If the subprogram has copy-in copy-out parameters...

* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Subprogram_Type>: If the
subprogram has copy-in copy-out parameters, try to promote the mode of
the return type if it is passed in registers.

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