OSDN Git Service

* gcc-interfaces/decl.c (elaborate_expression_1): Use the variable for
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Oct 2012 10:35:03 +0000 (10:35 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Oct 2012 10:35:03 +0000 (10:35 +0000)
commit76d33de29c819cdc30eeea69705754a8147cbcef
tree784d51dd03f64d2f0583449222c1d34c4c345603
parent0a6edd0024de3f3d9a4611c8f5f5350d21c332e5
* 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 (build_return_expr): Apply the NRV optimization
only for BLKmode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191972 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/ada/gcc-interface/trans.c