[Ada] Minor cleanup in Expand_Call_Helper
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 22 Apr 2020 18:51:16 +0000 (20:51 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 18 Jun 2020 09:08:26 +0000 (05:08 -0400)
commit5126ca1fa7796d252c0b418f20d21073e7772508
treee01c2ddfb79ee566e683b559a3a0944da406fd9e
parent12be130c3f1d09b4b9923de6b4c1c66d61c9497c
[Ada] Minor cleanup in Expand_Call_Helper

2020-06-18  Eric Botcazou  <ebotcazou@adacore.com>

gcc/ada/

* exp_ch6.adb (Expand_Call_Helper): Remove superfluous calls
to Relocate_Node and merge calls to Analyze and Resolve in a
couple of places.  Do not attempt to generate a range check
for an actual parameter against the formal's type of a derived
subprogram after generating a conversion to the formal's type
of the parent subprogram.
gcc/ada/exp_ch6.adb