r261112 - in /branches/gcc-8-branch/gcc/ada: Ch...
ebotcazou@gcc.gnu.org
ebotcazou@gcc.gnu.org
Sat Jun 2 11:07:00 GMT 2018
Author: ebotcazou
Date: Sat Jun 2 11:07:39 2018
New Revision: 261112
URL: https://gcc.gnu.org/viewcvs?rev=261112&root=gcc&view=rev
Log:
Backport from mainline
2018-05-31 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/trans.c (Call_to_gnu): In the by-reference case, if
the type of the parameter is an unconstrained array type, convert
to the type of the actual before the type of the formal only if the
conversion was suppressed earlier. Use in_param and gnu_actual_type
local variables throughout, and uniform spelling for In Out or Out.
Also remove dead code in the component-by-reference case.
Modified:
branches/gcc-8-branch/gcc/ada/ChangeLog
branches/gcc-8-branch/gcc/ada/gcc-interface/trans.c
More information about the Gcc-cvs
mailing list