exp_dist.adb (Get_Subprogram_Ids): This function will no more assign subprogram Ids...
authorThomas Quinot <quinot@adacore.com>
Tue, 31 Oct 2006 17:55:55 +0000 (18:55 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 31 Oct 2006 17:55:55 +0000 (18:55 +0100)
commit92869a7b6b8dc3ad4c0e0a299ec36906c2090c8c
tree780930857e5be48b62644253dd43da21a95fc277
parent108e13eb74bd925fba2a6e2e692bd1de1342fd3c
exp_dist.adb (Get_Subprogram_Ids): This function will no more assign subprogram Ids, even if they are not yet assigned.

2006-10-31  Thomas Quinot  <quinot@adacore.com>
    Pablo Oliveira  <oliveira@adacore.com>

        * exp_dist.adb (Get_Subprogram_Ids): This function will no more assign
subprogram Ids, even if they are not yet assigned.
(Build_Subprogram_Id): It is now this function that will take care of
calling Assign_Subprogram_Ids if necessary.
(Add_Receiving_Stubs_To_Declarations): Checking the subprograms ids
should be done only once they are assigned.
(Build_From_Any_Function, case of tagged types): Add missing call to
Allocate_Buffer.
(Corresponding_Stub_Type): New subprogram. Returns the associated stub
type for an RACW type.
(Add_RACW_Features): When processing an RACW declaration for which the
designated type is already frozen, enforce E.2.2(14) rules immediately.
(GARLIC_Support.Build_Subprogram_Receiving_Stubs): Do not perform any
special reordering of controlling formals.

* exp_dist.ads (Corresponding_Stub_Type): New subprogram. Returns the
associated stub type for an RACW type.

From-SVN: r118264
gcc/ada/exp_dist.adb
gcc/ada/exp_dist.ads