]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ada/sem_disp.adb
[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Wed, 29 Apr 2009 10:28:55 +0000 (12:28 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 29 Apr 2009 10:28:55 +0000 (12:28 +0200)
commit4fc26524b5b40e7be207ba6378c3385bdbe4bcd1
treeb72d92a8a2ecf450a2641b76b6e8d9505038ac4a
parent7f4c190364aeb00a399ac594d56099603323855d
[multiple changes]

2009-04-29  Ed Schonberg  <schonberg@adacore.com>

* sem_disp.adb (Check_Dispatching_Operation): if the dispatching
operation is a body without previous spec, update the list of
primitive operations to ensure that cross-reference information is
up-to-date.

* sem_ch12.adb (Build_Instance_Compilation_Unit_Nodes): When creating a
new compilation unit node for the instance declaration, keep the
context items of the original unit on it, so that the context of the
instance body only holds the context inherited from the generic body.

2009-04-29  Bob Duff  <duff@adacore.com>

* sem_res.adb: Minor comment fix.

From-SVN: r146945
gcc/ada/ChangeLog
gcc/ada/sem_ch12.adb
gcc/ada/sem_disp.adb
gcc/ada/sem_res.adb