gigi.h (gnat_init_decl_processing): Delete.
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 16 Apr 2010 15:04:26 +0000 (15:04 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 16 Apr 2010 15:04:26 +0000 (15:04 +0000)
commit860603449e04d4a21c9b695e72232639d8bf4f34
tree1b898ebbf96f3d1614cf445a68b90becfcb2e0a9
parent9b04d6de98437348c1423741c6987ad3c958913b
gigi.h (gnat_init_decl_processing): Delete.

* gcc-interface/gigi.h (gnat_init_decl_processing): Delete.
* gcc-interface/decl.c (gnat_to_gnu_entity): Constify a few variables.
<object>: Do not create the fake PARM_DECL if no debug info is needed.
Do not create the corresponding VAR_DECL of a CONST_DECL for debugging
purposes if no debug info is needed.
Fix formatting.  Reorder and add comments.
* gcc-interface/trans.c (gnat_to_gnu) <N_Attribute_Reference>: Constify
variable and remove obsolete comment.
* gcc-interface/utils.c (convert_vms_descriptor64): Tweak comment.
(convert_vms_descriptor32): Likewise.
(convert): Remove dead code.
<UNCONSTRAINED_ARRAY_REF>: Pass the field instead of its name to build
the reference to the P_ARRAY pointer.
<POINTER_TYPE>: Likewise.
(maybe_unconstrained_array) <UNCONSTRAINED_ARRAY_TYPE>: Likewise.
(gnat_init_decl_processing): Delete, move contents to...
* gcc-interface/misc.c (gnat_init): ...here.

From-SVN: r158428
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/ada/gcc-interface/gigi.h
gcc/ada/gcc-interface/misc.c
gcc/ada/gcc-interface/trans.c
gcc/ada/gcc-interface/utils.c