]> git.ipfire.org Git - thirdparty/gcc.git/commit
trans.c (finalize_nrv_r): Remove obsolete code.
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 29 Feb 2016 09:16:57 +0000 (09:16 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 29 Feb 2016 09:16:57 +0000 (09:16 +0000)
commit5d2a63dc7bb7942ba287323d89cdf622015c1e39
tree0f91e6f86c4456a140d2c8b71d841a7ce8f81252
parent93e708f9c3dba10010b56e897fbb89f93d10a21b
trans.c (finalize_nrv_r): Remove obsolete code.

* gcc-interface/trans.c (finalize_nrv_r): Remove obsolete code.
(build_return_expr): Likewise.
(Call_to_gnu): If this is a function call and there is no target,
create a temporary for the return value for all aggregate types,
but never create it for a return statement.  Push a binding level
around the call in more cases.  Remove obsolete code.

From-SVN: r233805
gcc/ada/ChangeLog
gcc/ada/gcc-interface/trans.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/stack_usage3.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/stack_usage3_pkg.ads [new file with mode: 0644]