OSDN Git Service

2005-09-01 Ed Schonberg <schonberg@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Sep 2005 08:03:33 +0000 (08:03 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Sep 2005 08:03:33 +0000 (08:03 +0000)
commit924234b9423d5b07cec340990a453693b0b19b4b
treeee8640d90b0bcd185a714d5122830e8d823d1fd9
parenta7aeea04fa7ff54c52c6d697e1128cce300eee18
2005-09-01  Ed Schonberg  <schonberg@adacore.com>
    Javier Miranda  <miranda@adacore.com>

* sem_type.adb (Add_One_Interp): If a candidate operation is an
inherited interface operation that has an implementation, use the
implementation to avoid spurious ambiguities.
(Interface_Present_In_Ancestor): In case of concurrent types we can't
use the Corresponding_Record_Typ attribute to look for the interface
because it is set by the expander (and hence it is not always
available). For this reason we traverse the list of interfaces
(available in the parent of the concurrent type).
(Interface_Present_In_Ancestor): Handle entities from the limited view

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