[Ada] Add missing conversion in call to Finalize primitive
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 29 Jan 2020 15:15:09 +0000 (16:15 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 4 Jun 2020 09:11:17 +0000 (05:11 -0400)
commit25a76d621a4b6e324777677c8a5a81c09da2db9d
treeb47b366319f24449f6a866dbd7b3526286994229
parent3ab26de1c003d0ac640eaa114e041bf78fb151ac
[Ada] Add missing conversion in call to Finalize primitive

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

gcc/ada/

* exp_ch7.adb (Make_Final_Call): Set the type of the object, if
it is unanalyzed, before calling Convert_View on it.
gcc/ada/exp_ch7.adb