decl.c (elaborate_expression_1): Use the variable for bounds of loop iteraration...
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 2 Oct 2012 10:34:44 +0000 (10:34 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 2 Oct 2012 10:34:44 +0000 (10:34 +0000)
commitf563ce55854c93f9a2b7075d5f84fc6301d41c30
treede444b7ca6251b024717d585ae1a2c69dccf2f58
parent0f1e88429a98791cd8c5b8d80703fc5f04a80b23
decl.c (elaborate_expression_1): Use the variable for bounds of loop iteraration scheme only for locally defined...

* gcc-interfaces/decl.c (elaborate_expression_1): Use the variable for
bounds of loop iteraration scheme only for locally defined subtypes.

* gcc-interface/trans.c (gigi): Fix formatting.
(build_return_expr): Apply the NRV optimization only for BLKmode.

From-SVN: r191971
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/ada/gcc-interface/trans.c