exp_ch7.adb (Expand_N_Package_Body): Replace occurrence of attribute Is_Complation_Un...
authorJavier Miranda <miranda@adacore.com>
Thu, 13 Dec 2007 10:25:35 +0000 (11:25 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Thu, 13 Dec 2007 10:25:35 +0000 (11:25 +0100)
commitd07e197c8751b00c2d3f204fcda4bdbe23889d82
treebe6b4a9e0d87bf7ed141b1199fc9fce521cf022d
parent303b4d58d7c0c36982e852981ac245bce6030e2c
exp_ch7.adb (Expand_N_Package_Body): Replace occurrence of attribute Is_Complation_Unit by Is_Library_Level_Entity...

2007-12-06  Javier Miranda  <miranda@adacore.com>
    Ed Schonberg  <schonberg@adacore.com>

* exp_ch7.adb (Expand_N_Package_Body): Replace occurrence of attribute
Is_Complation_Unit by Is_Library_Level_Entity in the code
that decides if the static dispatch tables need to be built.
(Wrap_Transient_Declaration): Do not generate a finalization call if
this is a renaming declaration and the renamed object is a component
of a controlled type.

From-SVN: r130832
gcc/ada/exp_ch7.adb