decl.c (gnat_to_gnu_subprog_type): With the Copy-In/ Copy-Out mechanism...
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 3 Dec 2019 10:06:15 +0000 (10:06 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 3 Dec 2019 10:06:15 +0000 (10:06 +0000)
commit64c8ebc7b2796fb2376de6e011443d2b688cfd98
treed8db053e5675f6921b2d8e70a6dc42d9bdffb7eb
parent819fb019338d2c46fb8b8def7855a36b9b361109
decl.c (gnat_to_gnu_subprog_type): With the Copy-In/ Copy-Out mechanism...

* gcc-interface/decl.c (gnat_to_gnu_subprog_type): With the Copy-In/
Copy-Out mechanism, do not promote the mode of the return type to an
integral mode if it contains a field on a non-integral type and even
demote it for 64-bit targets.

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