sem_ch9.adb (Collect_Interfaces): Initialize Direct_Primitive_Operations for a tagged...
authorEd Schonberg <schonberg@adacore.com>
Tue, 12 May 2015 09:20:50 +0000 (09:20 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 12 May 2015 09:20:50 +0000 (11:20 +0200)
commit27fd9ad83b56a6cb256bae3a1c6524afb624d209
treef574170fcc5fdc44f0efe2b011babaf336ca1431
parent7c4d86c9ccbafef2cdfd92f3b6f382aa498a2c83
sem_ch9.adb (Collect_Interfaces): Initialize Direct_Primitive_Operations for a tagged synchronized type...

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.

From-SVN: r223051
gcc/ada/ChangeLog
gcc/ada/einfo.ads
gcc/ada/sem_ch9.adb
gcc/ada/sem_disp.adb