r165250 - in /trunk/gcc/ada: ChangeLog gcc-inte...
ebotcazou@gcc.gnu.org
ebotcazou@gcc.gnu.org
Sun Oct 10 11:26:00 GMT 2010
Author: ebotcazou
Date: Sun Oct 10 11:26:16 2010
New Revision: 165250
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165250
Log:
* gcc-interface/ada-tree.h (DECL_BY_DOUBLE_REF_P): New macro.
* gcc-interface/gigi.h (annotate_object): Add BY_DOUBLE_REF parameter.
* gcc-interface/decl.c (annotate_object): Likewise and handle it.
(gnat_to_gnu_entity): Adjust calls to annotate_object.
(gnat_to_gnu_param): If fat pointer types are passed by reference on
the target, pass them by explicit reference.
* gcc-interface/misc.c (default_pass_by_ref): Fix type of constant.
* gcc-interface/trans.c (Identifier_to_gnu): Do DECL_BY_DOUBLE_REF_P.
(Subprogram_Body_to_gnu): Adjust call to annotate_object.
(call_to_gnu): Handle DECL_BY_DOUBLE_REF_P.
* gcc-interface/utils.c (convert_vms_descriptor): Add BY_REF parameter
and handle it.
(build_function_stub): Iterate on the parameters of the subprogram in
lieu of on the argument types. Adjust call to convert_vms_descriptor.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/gcc-interface/ada-tree.h
trunk/gcc/ada/gcc-interface/decl.c
trunk/gcc/ada/gcc-interface/gigi.h
trunk/gcc/ada/gcc-interface/misc.c
trunk/gcc/ada/gcc-interface/trans.c
trunk/gcc/ada/gcc-interface/utils.c
More information about the Gcc-cvs
mailing list