exp_ch4.adb (Expand_N_Allocator): If the allocated object is accessed through an...
authorJavier Miranda <miranda@adacore.com>
Fri, 17 Feb 2006 16:06:16 +0000 (17:06 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 17 Feb 2006 16:06:16 +0000 (17:06 +0100)
commitf82944b75c27789320598c7f2b5f3660480cd5c6
tree06644d0228adf557185524f557b21d96e1011cac
parent72774950676b37f320c6cd60ff1789da1106f3dd
exp_ch4.adb (Expand_N_Allocator): If the allocated object is accessed through an access to class-wide interface...

2006-02-17  Javier Miranda  <miranda@adacore.com>
    Robert Dewar  <dewar@adacore.com>

* exp_ch4.adb (Expand_N_Allocator): If the allocated object is accessed
through an access to class-wide interface we force the displacement of
the pointer to the allocated object to reference the corresponding
secondary dispatch table.
(Expand_N_Op_Divide): Allow 64 bit divisions by small power of 2,
if Long_Shifts are supported on the target, even if 64 bit divides
are not supported (configurable run time mode).
(Expand_N_Type_Conversion): Do validity check if validity checks on
operands are enabled.
(Expand_N_Qualified_Expression): Do validity check if validity checks
on operands are enabled.

From-SVN: r111185
gcc/ada/exp_ch4.adb