OSDN Git Service

2011-08-31 Gary Dismukes <dismukes@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Aug 2011 09:02:37 +0000 (09:02 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Aug 2011 09:02:37 +0000 (09:02 +0000)
commit6819394eec96204e3df6709b11e616354766fe8f
treeb537d5ed4f210cfdb6718b2d5e485201860cb3ee
parent6854063cad4f60406d41d8f5b4fcd60429293baf
2011-08-31  Gary Dismukes  <dismukes@adacore.com>

* exp_ch5.adb (Expand_N_Assignment_Statement): When a discriminant
check is needed for a left-hand side that is a dereference, and the
base type is private without discriminants (whereas the full type does
have discriminants), an extra retrieval of the underlying type may be
needed in the case where the subtype is a record subtype whose base
type is private. Update comments.

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