OSDN Git Service

2006-10-31 Ed Schonberg <schonberg@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Oct 2006 18:09:49 +0000 (18:09 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 Oct 2006 18:09:49 +0000 (18:09 +0000)
commitc2d3efa3a1fb48d1880f980efa96c629559c411d
tree0009d8fedb88e155dcb2076f7b0cb2918c772ac4
parentdf35166077a139bbb50ba1ea8587e82a44b2d217
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118311 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/sem_type.adb