[Ada] Wrong resolution of universal_access = operators
authorArnaud Charlet <charlet@adacore.com>
Fri, 2 Oct 2020 15:20:23 +0000 (11:20 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 24 Nov 2020 10:16:03 +0000 (05:16 -0500)
commitfa65696761c167412262779e37fc15306e08dd1b
tree94b1a92c0a50b089ceeab521f1fc42730010db49
parent13209acd6488700a9c754e0ecff7d654941698ef
[Ada] Wrong resolution of universal_access = operators

gcc/ada/

* sem_type.adb (Add_One_Interp.Is_Universal_Operation): Account
for universal_access = operator.
(Disambiguate): Take into account preference on universal_access
= operator when relevant.
(Disambiguate.Is_User_Defined_Anonymous_Access_Equality): New.
gcc/ada/sem_type.adb