trans.c (build_return_expr): Use INIT_EXPR instead of MODIFY_EXPR to assign to the...
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 24 Nov 2014 08:34:01 +0000 (08:34 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 24 Nov 2014 08:34:01 +0000 (08:34 +0000)
commitd864aeebbcafee66306e8f74b58d49fa97922cf3
treee411db2b5a9281094cd43026698b6de25fe3c9cb
parent90b4c164f4c725bfd77c1a1c6ad574604b423401
trans.c (build_return_expr): Use INIT_EXPR instead of MODIFY_EXPR to assign to the return object.

* gcc-interface/trans.c (build_return_expr): Use INIT_EXPR instead of
MODIFY_EXPR to assign to the return object.
(finalize_nrv_r): Adjust to above change.
(finalize_nrv_unc_r): Likewise.

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