ada: Put back conversion to interface in more cases
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 3 Jan 2023 07:20:30 +0000 (08:20 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Mon, 16 Jan 2023 14:44:54 +0000 (15:44 +0100)
commite59cd0db822e325868128281a81ee356a6914f52
tree2519bdceb870b4a55e683a259dcac681e9c54a13
parent24993939b7e405cdb8fa7ab6b388913a5d9fb6ce
ada: Put back conversion to interface in more cases

This needs to be done for all expressions with class-wide type.

gcc/ada/

* exp_ch3.adb (Make_Allocator_For_Return): Put back an interface
conversion for expressions with non-interface class-wide type.
gcc/ada/exp_ch3.adb