r235305 - in /trunk/gcc/ada: ChangeLog exp_ch6....
charlet@gcc.gnu.org
charlet@gcc.gnu.org
Thu Apr 21 08:20:00 GMT 2016
Author: charlet
Date: Thu Apr 21 08:20:59 2016
New Revision: 235305
URL: https://gcc.gnu.org/viewcvs?rev=235305&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/exp_ch6.adb
trunk/gcc/ada/exp_util.adb
trunk/gcc/ada/sem_ch6.adb
More information about the Gcc-cvs
mailing list