exp_attr.adb (Expand_N_Attribute_Reference): Case Access, Unchecked_Access, and Unres...
authorJavier Miranda <miranda@adacore.com>
Mon, 15 Oct 2007 13:54:33 +0000 (15:54 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 15 Oct 2007 13:54:33 +0000 (15:54 +0200)
commit3192631e2438b31b79d6aa9873b6ed83417af857
treefb3a6d59691d6a973613b8dc96d68d7f6b924971
parenta8ee464537c3a5e4ec0c4e15fed38edb9cd567e6
exp_attr.adb (Expand_N_Attribute_Reference): Case Access, Unchecked_Access, and Unrestricted_Access.

2007-10-15  Javier Miranda  <miranda@adacore.com>

* exp_attr.adb (Expand_N_Attribute_Reference): Case Access,
Unchecked_Access, and Unrestricted_Access. Cleanup code that takes
care of access to class-wide interface types plus removal of bizarre
conversion of tagged object to access type (reported by Gary
Dismukes). After this patch there is no need to perform any
additional management on these nodes in Expand_Interface_Actuals.

* exp_disp.adb (Expand_Interface_Actuals): Code cleanup. Remove code
that handles use of 'Access and 'Unchecked_Access applied to
actuals covering interface types. Such code is now
centralized in Expand_N_Attribute_Reference.

From-SVN: r129322
gcc/ada/exp_attr.adb
gcc/ada/exp_disp.adb