[Ada] Fix bad interaction between Unchecked_Conversion and limited type
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 5 May 2020 20:54:29 +0000 (22:54 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 6 Jul 2020 11:34:58 +0000 (07:34 -0400)
commitf5b65fab88022c4dcfaa9020ecbc7719e92ca53a
tree4fccfbc92451b10d44f10c52edffdb130c005ad8
parentc54077e4538c8745abecb0c440a26573e708e100
[Ada] Fix bad interaction between Unchecked_Conversion and limited type

gcc/ada/

* exp_ch6.adb (Add_Simple_Call_By_Copy_Code): Rename parameter
from Bit_Packed_Array to Force.
(Expand_Actuals): Do not apply BIP processing if the subprogram
is intrinsic.  Adjust calls to Add_Simple_Call_By_Copy_Code and
add one for In parameters whose actual is a CPP constructor call.
gcc/ada/exp_ch6.adb