ada: Spurious error on nested call using the prefix notation
commit7dc44f280e7d1126b4d05e79c53b40df1afe334a
authorJavier Miranda <miranda@adacore.com>
Sat, 19 Nov 2022 19:46:31 +0000 (19 19:46 +0000)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 6 Dec 2022 13:58:49 +0000 (6 14:58 +0100)
tree8c6cecf26e1939c4e299abc1bf2332462647238c
parent188965afb10a2bf14527f2aa9f9cb0f8fcc991e9
ada: Spurious error on nested call using the prefix notation

gcc/ada/

* exp_ch6.adb
(Build_Static_Check_Helper_Call): Perform implicit type conversion
to ensure matching types and avoid reporting spurious errors.
gcc/ada/exp_ch6.adb