diff options
author | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2010-10-25 10:35:07 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2010-10-25 10:35:07 +0000 |
commit | 35a382b82d0c7a65e5974298af5b32a003ea1fcf (patch) | |
tree | 8cc3581d1da42f9345f072e15d0748dc2e860814 /gcc/gcov-io.h | |
parent | 7fa2619a2ff66d8c8100554d33ad1ebb046c295e (diff) | |
download | gcc-35a382b82d0c7a65e5974298af5b32a003ea1fcf.zip gcc-35a382b82d0c7a65e5974298af5b32a003ea1fcf.tar.gz gcc-35a382b82d0c7a65e5974298af5b32a003ea1fcf.tar.bz2 |
decl.c (gnat_to_gnu_entity, [...]): Allow In Out/Out parameters for functions.
* gcc-interface/decl.c (gnat_to_gnu_entity, case E_Function): Allow
In Out/Out parameters for functions.
* gcc-interface/trans.c (gnu_return_var_stack): New variable.
(create_init_temporary): New static function.
(Subprogram_Body_to_gnu): Handle In Out/Out parameters for functions.
(call_to_gnu): Likewise. Use create_init_temporary in order to create
temporaries for unaligned parameters and return value. If there is an
unaligned In Out or Out parameter passed by reference, push a binding
level if not already done. If a binding level has been pushed and the
call is returning a value, create the call statement.
(gnat_to_gnu) <N_Return_Statement>: Handle In Out/Out parameters for
functions.
From-SVN: r165914
Diffstat (limited to 'gcc/gcov-io.h')
0 files changed, 0 insertions, 0 deletions