]> git.ipfire.org Git - thirdparty/gcc.git/commit
exp_ch4.adb (Process_Transient_Object): Remove constant In_Cond_Expr, use its initial...
authorHristian Kirtchev <kirtchev@adacore.com>
Tue, 29 Jul 2014 12:51:47 +0000 (12:51 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 29 Jul 2014 12:51:47 +0000 (14:51 +0200)
commitc5c780e6deb9cf337f4898db5716659698311d7d
treea24a16da19178913fb64eee87ace65e85b8ad461
parente2bc5465d67a558c23830e1561077eaba1f68973
exp_ch4.adb (Process_Transient_Object): Remove constant In_Cond_Expr, use its initialization expression in place.

2014-07-29  Hristian Kirtchev  <kirtchev@adacore.com>

* exp_ch4.adb (Process_Transient_Object): Remove constant
In_Cond_Expr, use its initialization expression in place.
* exp_ch7.adb (Process_Declarations): There is no need to check
that a transient object being hooked is controlled as it would
not have been hooked in the first place.
* exp_util.adb (Is_Aliased): 'Reference-d or renamed transient
objects are not considered aliased when the related context is
a Boolean expression_with_actions.
(Requires_Cleanup_Actions): There is no need to check that a transient
object being hooked is controlled as it would not have been hooked in
the first place.

From-SVN: r213158
gcc/ada/ChangeLog
gcc/ada/exp_ch4.adb
gcc/ada/exp_ch7.adb
gcc/ada/exp_util.adb