[Ada] Spurious error on universal access equality operator
authorEd Schonberg <schonberg@adacore.com>
Thu, 12 Dec 2019 10:03:48 +0000 (10:03 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Thu, 12 Dec 2019 10:03:48 +0000 (10:03 +0000)
commit4dd8320fbb787527b417ba7e69ae3786b511e813
tree729d5f3b2b3b7772c240702c5fa8bec56bb9711e
parent97b2ffb81fdef1f0c2dc3ec337a9d9a61f3b98fc
[Ada] Spurious error on universal access equality operator

2019-12-12  Ed Schonberg  <schonberg@adacore.com>

gcc/ada/

* sem_type.adb (Find_Unique_Type): A call to the universal
access equality operator requires one operand to be a universal
access, and the other to be an access type. There is no
requirement, as previously implied by this routine, that
pool-specific access types were illegal in this context.

From-SVN: r279304
gcc/ada/ChangeLog
gcc/ada/sem_type.adb