]> git.ipfire.org Git - thirdparty/gcc.git/commit
exp_intr.adb (Expand_Unc_Deallocation): If GIGI needs an actual subtype to compute...
authorThomas Quinot <quinot@adacore.com>
Tue, 15 Nov 2005 13:58:22 +0000 (14:58 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 15 Nov 2005 13:58:22 +0000 (14:58 +0100)
commit191cab8dcf49ea0837da9eb138516e1ce7ffa7cf
treecdab281021e660fa90e4db3583dabce0806d6892
parent65b1b4317c419981d35e0f2c7e71236fd105bc96
exp_intr.adb (Expand_Unc_Deallocation): If GIGI needs an actual subtype to compute the size of the designated object at...

2005-11-14  Thomas Quinot  <quinot@adacore.com>
    Robert Dewar  <dewar@adacore.com>
    Ed Schonberg  <schonberg@adacore.com>

* exp_intr.adb (Expand_Unc_Deallocation): If GIGI needs an actual
subtype to compute the size of the designated object at run-time,
create such a subtype and store it in the Actual_Designated_Subtype
attribute of the N_Free_Statement.
Generate itype for classwide designated object in both cases of
user-specified storage pool: specific and class-wide, not only in the
specific case.
Raise CE when trying to set a not null access type object to null.
(Expand_Dispatching_Constructor_Call): Retrieve subprogram actual with
an explicit loop, because freeze nodes make its position variable.

* sem_intr.adb (Check_Intrinsic_Call): Given warning for freeing not
null object.

From-SVN: r106976
gcc/ada/exp_intr.adb
gcc/ada/sem_intr.adb