[Ada] Wrong finalization in call with if expression
authorArnaud Charlet <charlet@adacore.com>
Tue, 29 Sep 2020 13:52:03 +0000 (09:52 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 24 Nov 2020 10:16:00 +0000 (05:16 -0500)
commit1cc9ecae0ab80e9aa170950725a47ef285e78c9d
treec0ff435d0a512cd81c46776263e82349cda49d33
parent7f0942424b7229797dfbcb7b9467c788df8c26b0
[Ada] Wrong finalization in call with if expression

gcc/ada/

* exp_ch6.adb (Add_Cond_Expression_Extra_Actual): Simplify
handling of function calls and remove bug in handling of
transient objects.  Minor reformatting along the way.
gcc/ada/exp_ch6.adb