diff options
author | Ed Schonberg <schonberg@adacore.com> | 2007-08-14 10:41:44 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2007-08-14 10:41:44 +0200 |
commit | fa57ac97e9e50108ba984a0a6bfe3d54d339f059 (patch) | |
tree | 7ea896bb4b8bad0b372cd54653b5c14306238718 /gcc/ada/argv.c | |
parent | dc0961329fdc886ce02cda642873705e76b2ccaa (diff) | |
download | gcc-fa57ac97e9e50108ba984a0a6bfe3d54d339f059.zip gcc-fa57ac97e9e50108ba984a0a6bfe3d54d339f059.tar.gz gcc-fa57ac97e9e50108ba984a0a6bfe3d54d339f059.tar.bz2 |
exp_aggr.ads, [...] (Convert_Aggr_In_Allocator): Use Insert_Actions to place expanded aggregate code before allocator...
2007-08-14 Ed Schonberg <schonberg@adacore.com>
Gary Dismukes <dismukes@adacore.com>
* exp_aggr.ads,
exp_aggr.adb (Convert_Aggr_In_Allocator): Use Insert_Actions to place
expanded aggregate code before allocator, and ahead of declaration for
temporary, to prevent access before elaboration when the allocator is
an actual for an access parameter.
(Is_Static_Dispatch_Table_Aggregate): Handle aggregates initializing
the TSD and the table of interfaces.
(Convert_To_Assignments): Augment the test for delaying aggregate
expansion for limited return statements to include the case of extended
returns, to prevent creation of an unwanted transient scope.
(Is_Static_Dispatch_Table_Aggregate): New subprogram.
(Expand_Array_Aggregate): Handle aggregates associated with
statically allocated dispatch tables.
(Expand_Record_Aggregate): Handle aggregates associated with
statically allocated dispatch tables.
(Gen_Ctrl_Actions_For_Aggr): Generate a finalization list for allocators
of anonymous access type.
From-SVN: r127429
Diffstat (limited to 'gcc/ada/argv.c')
0 files changed, 0 insertions, 0 deletions