trans.c (Subprogram_Body_to_gnu): For a function with copy-in/copy-out…
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
Showing
gcc/testsuite/gnat.dg/discr42.adb
0 → 100644
gcc/testsuite/gnat.dg/discr42_pkg.adb
0 → 100644
gcc/testsuite/gnat.dg/discr42_pkg.ads
0 → 100644
Please
register
or
sign in
to comment