diff options
author | Javier Miranda <miranda@adacore.com> | 2007-06-06 12:27:12 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2007-06-06 12:27:12 +0200 |
commit | b545a0f665f17f255262053f9ebf27f718bdfabc (patch) | |
tree | 34a5ab51899cbffbc75e4a007da7cf396ce723e2 /gcc/ada/exp_util.adb | |
parent | cde4a4b1a387e3d37d5ea534b59703e4234b754a (diff) | |
download | gcc-b545a0f665f17f255262053f9ebf27f718bdfabc.zip gcc-b545a0f665f17f255262053f9ebf27f718bdfabc.tar.gz gcc-b545a0f665f17f255262053f9ebf27f718bdfabc.tar.bz2 |
exp_intr.adb (Expand_Unc_Deallocation): Add missing support for deallocation of class-wide interface objects.
2007-04-20 Javier Miranda <miranda@adacore.com>
* exp_intr.adb (Expand_Unc_Deallocation): Add missing support for
deallocation of class-wide interface objects.
(Expand_Dispatching_Constructor_Call): Take into account that if the
result of the dispatching constructor is an interface type, the
function returns a class-wide interface type; otherwise the returned
object would be actual. The frontend previously accepted returning
interface types because Expand_Interface_Actuals silently performed
the management of the returned type "as if" it were a class-wide
interface type.
(Expand_Dispatching_Constructor_Call): Replace call to
Make_DT_Access_Action by direct call to Make_Function_Call.
From-SVN: r125406
Diffstat (limited to 'gcc/ada/exp_util.adb')
0 files changed, 0 insertions, 0 deletions