diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2014-11-05 19:17:00 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2014-11-05 19:17:00 +0000 |
commit | 2374257aff7c2f88a7b1fa8c1466176b7d42f99c (patch) | |
tree | 136fe8c9cc145da8d36ce16196a61a8380086f0f /gcc/gcc.c | |
parent | 6c52b7dfc45578bd8470a3b6297ef3b04fd35926 (diff) | |
download | gcc-2374257aff7c2f88a7b1fa8c1466176b7d42f99c.zip gcc-2374257aff7c2f88a7b1fa8c1466176b7d42f99c.tar.gz gcc-2374257aff7c2f88a7b1fa8c1466176b7d42f99c.tar.bz2 |
trans.c (Subprogram_Body_to_gnu): For a function with copy-in/copy-out parameters and which returns by invisible...
* gcc-interface/trans.c (Subprogram_Body_to_gnu): For a function with
copy-in/copy-out parameters and which returns by invisible reference,
do not create the variable for the return value; instead, manually
generate the indirect copy out statements on exit.
(gnat_to_gnu) <N_Simple_Return_Statement>: Adjust accordingly and build
a simple indirect assignment for the return value.
From-SVN: r217155
Diffstat (limited to 'gcc/gcc.c')
0 files changed, 0 insertions, 0 deletions