]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ada/exp_ch4.adb
[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Thu, 23 Jul 2009 09:56:17 +0000 (11:56 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Thu, 23 Jul 2009 09:56:17 +0000 (11:56 +0200)
commitdfcfdc0a7ce79e58aa028a1c9313399fb5676d56
tree735031bde32a343c5b6d452bf2bef5353bb7517e
parent832338d8f52b3eb165e1527bdb6b0e014ef4c731
[multiple changes]

2009-07-23  Gary Dismukes  <dismukes@adacore.com>

* exp_ch3.adb (Expand_N_Object_Declaration): For an initialized object
of a class-wide interface type that is a return object of a
build-in-place function, bypass the interface-related expansions into
renamings with displacement conversions, etc.
* exp_ch5.adb (Expand_N_Extended_Return_Statement): Add an assertion
for the case where a renaming occurs in a build-in-place context, to
assert that the bypassing of the build-in-place treatment only occurs
in the case of a renaming that is an expansion of a return expression
that is itself a build-in-place function call.

2009-07-23  Ed Schonberg  <schonberg@adacore.com>

* sem_ch4.adb (Try_Primitive_Operation): A primitive operation is a
valid candidate interpretation in a prefixed view if it is hidden, but
overrides an inherited operation declared in the visible part.

2009-07-23  Robert Dewar  <dewar@adacore.com>

* exp_ch4.adb (Expand_N_Type_Conversion): Don't promote integer
division operands to 64-bit at all in any circumstances.

From-SVN: r149990
gcc/ada/ChangeLog
gcc/ada/exp_ch3.adb
gcc/ada/exp_ch4.adb
gcc/ada/exp_ch5.adb
gcc/ada/sem_ch4.adb