OSDN Git Service

2007-10-15 Javier Miranda <miranda@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 Oct 2007 13:54:33 +0000 (13:54 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 Oct 2007 13:54:33 +0000 (13:54 +0000)
commit5e82d8fe93bac3997a6dcb5fbf25c9a2f90bc395
treefb3a6d59691d6a973613b8dc96d68d7f6b924971
parenta13923ff85c8e1c1942367e63b40fabc4e6861e3
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129322 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/exp_attr.adb
gcc/ada/exp_disp.adb