diff options
author | Javier Miranda <miranda@adacore.com> | 2016-04-21 08:20:59 +0000 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2016-04-21 10:20:59 +0200 |
commit | aeb98f1dcd25905b55c0b30c3189e9ddae55b7d2 (patch) | |
tree | c70e2a312fdf1955c988288302805654920c645e /gcc/java/jcf-depend.c | |
parent | 2cc7967fbeef31d46df49a9aaa92af1cddb9fca6 (diff) | |
download | gcc-aeb98f1dcd25905b55c0b30c3189e9ddae55b7d2.zip gcc-aeb98f1dcd25905b55c0b30c3189e9ddae55b7d2.tar.gz gcc-aeb98f1dcd25905b55c0b30c3189e9ddae55b7d2.tar.bz2 |
sem_ch6.adb (Build_Subprogram_Declaration): Propagate the attribute Rewritten_For_C to the body since since the expander...
2016-04-21 Javier Miranda <miranda@adacore.com>
* sem_ch6.adb (Build_Subprogram_Declaration): Propagate the
attribute Rewritten_For_C to the body since since the expander
may generate calls using that entity.
* exp_ch6.adb (Expand_Call): For internally generated
calls ensure that they reference the entity of the spec
of the called function.
(Rewritten_For_C_Func_Id): New subprogram.
(Rewritten_For_C_Proc_Id): New subprogram.
(Rewrite_Function_Call_For_C): Invoke the new subprogram to
ensure that we skip freezing entities.
* exp_util.adb (Build_Procedure_Form): No action needed if the
procedure was already built.
From-SVN: r235305
Diffstat (limited to 'gcc/java/jcf-depend.c')
0 files changed, 0 insertions, 0 deletions