2015-05-12 Ed Schonberg <schonberg@adacore.com>
commitb723448e32a8f5259b55a29687607895a5fdbd86
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 May 2015 09:20:50 +0000 (12 09:20 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 May 2015 09:20:50 +0000 (12 09:20 +0000)
treef574170fcc5fdc44f0efe2b011babaf336ca1431
parent515e45efdd8f0f5b7efb9711751e85ffe12f0d19
2015-05-12  Ed Schonberg  <schonberg@adacore.com>

* sem_ch9.adb (Collect_Interfaces): Initialize
Direct_Primitive_Operations for a tagged synchronized type,
so it can used in ASIS mode.
* sem_disp.adb (Check_Dispatching_Operation): If expansion is
disabled, attach subprogram to list of Direct_Primitive_Operations
of synchronized type itself, for ASIS use, because in this case
Corresponding_Record_Type is not built.
* einfo.ads: Indicate use of Direct_Primitive_Operations on
synchronized type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@223051 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/einfo.ads
gcc/ada/sem_ch9.adb
gcc/ada/sem_disp.adb