[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Thu, 25 Jun 2009 08:36:28 +0000 (10:36 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Thu, 25 Jun 2009 08:36:28 +0000 (10:36 +0200)
commitbea993f903e27a266ee22fbc7dd627fd1cbe1e1d
tree9a85d5b640c111e7c7c0b22fa44fe2534b148ab8
parentcabadd1ce33412c70d2c910ae49c4341fe39d3b6
[multiple changes]

2009-06-25  Ed Schonberg  <schonberg@adacore.com>

* exp_attr.adb (Expand_N_Attribute_Reference, case 'Access and
Unchecked_Access): If the context is an interface type, and the prefix
is of the corresponding class-wide type, do not insert a conversion
because the pointer displacement has already taken place, and we must
retain the class-wide type in a dispatching context.

2009-06-25  Emmanuel Briot  <briot@adacore.com>

* prj-nmsc.adb, prj-env.adb (Override_Kind): Unset the unit field of
the previous source file.
(Create_Mapping): Iterate on sources rather than on units.

From-SVN: r148932
gcc/ada/ChangeLog
gcc/ada/exp_attr.adb
gcc/ada/prj-env.adb
gcc/ada/prj-nmsc.adb