sem_type.adb (Add_One_Interp): If node is an indirect call...
authorEd Schonberg <schonberg@adacore.com>
Tue, 31 Oct 2006 18:09:49 +0000 (19:09 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 31 Oct 2006 18:09:49 +0000 (19:09 +0100)
commit60573ca25ab315e4825a035ef67d59a23e645b52
tree0009d8fedb88e155dcb2076f7b0cb2918c772ac4
parent29797f340dccaaa714e993426b925f23f94d362c
sem_type.adb (Add_One_Interp): If node is an indirect call...

2006-10-31  Ed Schonberg  <schonberg@adacore.com>
    Hristian Kirtchev  <kirtchev@adacore.com>
    Javier Miranda  <miranda@adacore.com>

* sem_type.adb (Add_One_Interp): If node is an indirect call, preserve
subprogram type to provide better diagnostics in case of ambiguity.
(Covers): Handle coverage of formal and actual anonymous access types in
the context of generic instantiation.
(Covers/Interface_Present_In_Ancestors): Use the base type to manage
abstract interface types; this is required to handle concurrent types
with discriminants and abstract interface types.
(Covers): Include type coverage of both regular incomplete subtypes and
incomplete subtypes of incomplete type visibles through a limited with
clause.

From-SVN: r118311
gcc/ada/sem_type.adb