aboutsummaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorGary Dismukes <dismukes@adacore.com>2020-03-31 18:27:06 -0400
committerPierre-Marie de Rodat <derodat@adacore.com>2020-06-15 04:04:32 -0400
commitc873714ff0cdefda09729bf04a7fc6c049d024f5 (patch)
tree8dba00f6f089d9bf0ebab4ea620e72dd8231b81d /libgo
parent773e99ac3e61bd84f9848e78e17867a920f9ae53 (diff)
downloadgcc-c873714ff0cdefda09729bf04a7fc6c049d024f5.zip
gcc-c873714ff0cdefda09729bf04a7fc6c049d024f5.tar.gz
gcc-c873714ff0cdefda09729bf04a7fc6c049d024f5.tar.bz2
[Ada] Passing actual parameter values to out formals when Default_Value is set
2020-06-15 Gary Dismukes <dismukes@adacore.com> gcc/ada/ * exp_ch6.adb (Add_Call_By_Copy_Code): In the case of a view conversion passed to a scalar out-mode parameter where the formal has Default_Value set, declare the copy temp with the base type of the formal's subtype and initialize the copy temp with the actual's value.
Diffstat (limited to 'libgo')
0 files changed, 0 insertions, 0 deletions