]> git.ipfire.org Git - thirdparty/gcc.git/commit
[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Wed, 22 Feb 2012 14:06:51 +0000 (15:06 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 22 Feb 2012 14:06:51 +0000 (15:06 +0100)
commitaab081301183b100541e48100c11281435b9e286
tree579eab415ecc35475d42bee4f58d1bcc575e91fd
parent31af8899966d8096de6a78a5de2ba53c11a98bae
[multiple changes]

2012-02-22  Hristian Kirtchev  <kirtchev@adacore.com>

* exp_ch7.adb (Process_Declarations): Minor reformatting. Simplify the
entry point for renamings. Detect a case where a source object has
been transformed into a class-wide renaming of a call to
Ada.Tags.Displace.
* exp_util.adb (Is_Displacement_Of_Ctrl_Function_Result): New routine.
(Is_Finalizable_Transient): Minor reformatting.
(Is_Tag_To_Class_Wide_Conversion): Minor reformatting.
(Requires_Cleanup_Actions): Minor reformatting. Simplify the
entry point for renamings. Detect a case where a source object
has been transformed into a class-wide renaming of a call to
Ada.Tags.Displace.
* exp_util.ads (Is_Displacement_Of_Ctrl_Function_Result): New routine.
(Is_Tag_To_Class_Wide_Conversion): Minor reformatting.

2012-02-22  Ed Schonberg  <schonberg@adacore.com>

* lib-load.adb (Load_Unit): If the prefix of the name in a
with-clause is a renaming, add a with-clause on the original unit.
* sem_ch10.adb (Build_Unit_Name): Remove code made obsolete by
new handling of renamings in with-clauses.

From-SVN: r184478
gcc/ada/exp_ch7.adb
gcc/ada/exp_util.adb
gcc/ada/exp_util.ads
gcc/ada/lib-load.adb
gcc/ada/sem_ch10.adb