[Ada] Wrong accessibility on 'Access of formal in call
authorJustin Squirek <squirek@adacore.com>
Thu, 18 Jun 2020 18:15:47 +0000 (14:15 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 27 Jul 2020 08:05:20 +0000 (04:05 -0400)
commit19796dddf05ca0349ec84b54b8743eb12106e3fc
treead2dacf79747065d4092d2cff6fd46a1176e0dd1
parent116e8b669eddc96b0294c6cf114372a0d346072e
[Ada] Wrong accessibility on 'Access of formal in call

gcc/ada/

* exp_ch6.adb (Expand_Call_Helper): Modify addition of the extra
accessibility parameter to take into account the extra
accessibility of formals within the calling subprogram.
gcc/ada/exp_ch6.adb