]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ada/exp_ch4.adb
[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Wed, 24 Jun 2009 09:19:41 +0000 (11:19 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 24 Jun 2009 09:19:41 +0000 (11:19 +0200)
commit852dba8059832d76c74e1e6f31d65a9302a0baa7
tree74771738dd04024246ed48f56765e4d1a4f1bca8
parent950d217a1ce57c2d8cdc4b54f73515409a0dbf18
[multiple changes]

2009-06-24  Javier Miranda  <miranda@adacore.com>

* exp_ch4.adb (Expand_N_Type_Conversion): Handle entities that are
visible through limited-with context clauses. In addition, avoid an
extra tag check that is not required when the class-wide
designated types of the operand and target types are
the same entity.
(Tagged_Membership): Handle entities from the limited view.

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

* gnatcmd.adb, make.adb, mlib-prj.adb, prj.ads, clean.adb,
prj-nmsc.adb, prj-env.adb (File_Name_Data): removed
(Spec_Or_Body): now a subtype of Source_Kind, to avoid using two
different vocabularies for similar concepts (Impl/Body_Part and
Spec/Specification).
(Unit_Data): now points directly to a Source_Id, rather than duplicating
some of the information in File_Name_Data. This also saves a bit of
memory. However, since we are now using a pointer we need to test
for null explicitly in several places of the code

From-SVN: r148900
gcc/ada/ChangeLog
gcc/ada/clean.adb
gcc/ada/exp_ch4.adb
gcc/ada/gnatcmd.adb
gcc/ada/make.adb
gcc/ada/mlib-prj.adb
gcc/ada/prj-env.adb
gcc/ada/prj-nmsc.adb
gcc/ada/prj.ads