OSDN Git Service

2011-08-30 Hristian Kirtchev <kirtchev@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Aug 2011 13:57:09 +0000 (13:57 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Aug 2011 13:57:09 +0000 (13:57 +0000)
commitc0bc95ce0adbc69d81eb95e2ae6b3b07fdb65846
tree7cb1ff0e6c6dc2fb39501b599bcc0e9943641376
parent51f37021cc1c713c1c42031d08904076467802b0
2011-08-30  Hristian Kirtchev  <kirtchev@adacore.com>

* sem_ch12.adb (Check_Private_View): Exchange the private and full view
of a designated type when the related access type is an actual in an
instance. This ensures that the full view of designated type is
available when inside the body of the instance.

2011-08-30  Ed Schonberg  <schonberg@adacore.com>

* sem_util.adb (May_Be_Lvalue): To determine whether a reference may be
in a position to be modified, a slice is treated like an indexed
component.

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