sem_ch4.adb (Remove_Abstract_Operations): Do not apply preference rule prematurely...
authorEd Schonberg <schonberg@adacore.com>
Fri, 9 Dec 2005 17:21:19 +0000 (18:21 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 9 Dec 2005 17:21:19 +0000 (18:21 +0100)
commit0e0eecec3087d3d639c77814a3ed4b1dc0434cfb
tree23ddc8663a59b1e79ef4abc43299d6f2168f83b6
parentb5bd964f4a698b0c69a6767a35be9df22f1257a5
sem_ch4.adb (Remove_Abstract_Operations): Do not apply preference rule prematurely when operands are universal...

2005-12-05  Ed Schonberg  <schonberg@adacore.com>

* sem_ch4.adb (Remove_Abstract_Operations): Do not apply preference
rule prematurely when operands are universal, remaining ambiguities
will be removed during resolution.
Code cleanup.

* sem_type.adb (Disambiguate): In Ada95 mode, discard interpretations
that are Ada 2005 functions.
(Has_Abstract_Interpretation): Subsidiary to
Remove_Conversions, to remove ambiguities caused by abstract operations
on numeric types when operands are universal.

From-SVN: r108302
gcc/ada/sem_ch4.adb
gcc/ada/sem_type.adb