summaryrefslogtreecommitdiff
path: root/gcc/ada/utils.c
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-31 22:40:57 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-31 22:40:57 +0000
commitee23fd7bf97a12a4df6ff311f9473afbdb90b11a (patch)
tree600c929066a396a657e416e8ec38992c5fcf2367 /gcc/ada/utils.c
parent6c7ff02573fc7155660a0ca60ed96b11963c1271 (diff)
downloadgcc-ee23fd7bf97a12a4df6ff311f9473afbdb90b11a.tar.gz
* c-common.c (c_unsafe_for_reeval): Rename.
* c-common.h (c_unsafe_for_reeval): Rename. * c-decl.c (finish_incomplete_decl): Rename. (c_init_decl_processing): Don't set langhook. * c-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL, LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine. * c-objc-common.c (c_objc_common_init): Don't set langhook. * c-tree.h (finish_incomplete_decl): Rename. * langhooks-def.h (lhd_unsafe_for_reeval): New. (LANG_HOOKS_FINISH_INCOMPLETE_DECL, LANG_HOOKS_UNSAFE_FOR_REEVAL): New. (LANG_HOOKS_INITIALIZER): Update. * langhooks.c (lhd_unsafe_For_reeval): New. * langhooks.h (struct langhooks): New hooks. * toplev.c (incomplete_decl_finalize_hook): Remove. (wrapup_global_declarations): Update. * tree.c (lang_unsafe_for_reeval): Remove. (unsafe_for_reeval): Update. * tree.h (lang_unsafe_for_reeval, incomplete_decl_finalize_hook): Remove. ada: * gigi.h (finish_incomplete_decl): Rename. * misc.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL): Redefine. * utils.c (gnat_init_decl_processing): Don't set hook. (finish_incomplete_decl): Rename. cp: * cp-lang.c (LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine. * lex.c (cxx_init): Don't set hook. objc: * objc-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL, LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51673 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/utils.c')
-rw-r--r--gcc/ada/utils.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/gcc/ada/utils.c b/gcc/ada/utils.c
index d01e7d84a4d..6d8f637bf45 100644
--- a/gcc/ada/utils.c
+++ b/gcc/ada/utils.c
@@ -481,12 +481,6 @@ gnat_init_decl_processing ()
{
lineno = 0;
- /* incomplete_decl_finalize_hook is defined in toplev.c. It needs to be set
- by each front end to the appropriate routine that handles incomplete
- VAR_DECL nodes. This routine will be invoked by compile_file when a
- VAR_DECL node of DECL_SIZE zero is encountered. */
- incomplete_decl_finalize_hook = finish_incomplete_decl;
-
/* Make the binding_level structure for global names. */
current_function_decl = 0;
current_binding_level = 0;
@@ -709,7 +703,7 @@ incomplete_type_error (dont_care_1, dont_care_2)
init_decl_processing. */
void
-finish_incomplete_decl (dont_care)
+gnat_finish_incomplete_decl (dont_care)
tree dont_care ATTRIBUTE_UNUSED;
{
gigi_abort (405);