From 03bde6017ce5581fcb73761fa8c5210ee12631aa Mon Sep 17 00:00:00 2001
From: neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Sat, 8 Mar 2003 21:12:26 +0000
Subject: 	* c-common.h (c_common_init, c_common_post_options): Update. 
 * c-objc-common.c (c_objc_common_init): Update for new prototype. 	*
 c-opts.c (saved_lineno): New. 	(c_common_post_options, c_common_init): Update
 prototypes, 	move call to cpp_read_main_file from latter to former. 	*
 c-tree.h (c_ojbc_common_init): Update. 	* langhooks-def.h
 (lhd_post_options): New. 	(LANG_HOOKS_INIT, LANG_HOOKS_POST_OPTIONS):
 Update. 	* langhooks.c (lhd_post_options): New. 	* langhooks.h (struct
 lang_hooks): Update post_options and init hooks. 	* toplev.c
 (no_backend): New. 	(process_options): Call post_options hook and set
 main_input_filename 	and input_filename here. 	(lang_dependent_init,
 do_compile): post_options hook moved to 	process_options. 	*
 objc/objc-act.c (objc_init): Update prototype. 	* objc/objc-act.h
 (objc_init): Update prototype. ada: 	* misc.c (gnat_init): Update for new
 prototype. cp: 	* cp-tree.h (cxx_init): Update prototype. 	*
 lex.c (cxx_init): Similarly. f: 	* com.c (ffe_init): Update prototype;
 move code to ffe_post_options. 	(ffe_post_options): New. java: 	*
 lang.c (java_init): Update prototype, move code to java_post_options. 
 (java_post_options): Similarly. treelang: 	* tree1.c (in_fname): Fix
 type. 	(treelang_init): Update prototype and use of in_fname. 	* treelang.h
 (in_fname): Fix type. 	* treetree.c (tree_code_if_start, tree_code_if_else, 
 tree_code_if_end, tree_code_create_function_prototype, 
 tree_code_create_function_initial, tree_code_create_funciton_wrapup, 
 tree_code_create_variable, tree_code_output_expression_statement) 	: Fix
 prototypes and use of filenames. 	* treetree.h: Similarly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64001 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/langhooks-def.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'gcc/langhooks-def.h')

diff --git a/gcc/langhooks-def.h b/gcc/langhooks-def.h
index 8834e787457..46ed0629c7f 100644
--- a/gcc/langhooks-def.h
+++ b/gcc/langhooks-def.h
@@ -46,6 +46,7 @@ extern void lhd_do_nothing_t PARAMS ((tree));
 extern void lhd_do_nothing_i PARAMS ((int));
 extern void lhd_do_nothing_f PARAMS ((struct function *));
 extern int lhd_decode_option PARAMS ((int, char **));
+extern bool lhd_post_options PARAMS ((const char **));
 extern HOST_WIDE_INT lhd_get_alias_set PARAMS ((tree));
 extern tree lhd_return_tree PARAMS ((tree));
 extern tree lhd_return_null_tree PARAMS ((tree));
@@ -86,13 +87,13 @@ void write_global_declarations PARAMS ((void));
 
 #define LANG_HOOKS_NAME			"GNU unknown"
 #define LANG_HOOKS_IDENTIFIER_SIZE	sizeof (struct lang_identifier)
-#define LANG_HOOKS_INIT			lhd_do_nothing
+#define LANG_HOOKS_INIT			hook_bool_void_false
 #define LANG_HOOKS_FINISH		lhd_do_nothing
 #define LANG_HOOKS_PARSE_FILE		lhd_do_nothing_i
 #define LANG_HOOKS_CLEAR_BINDING_STACK	lhd_clear_binding_stack
 #define LANG_HOOKS_INIT_OPTIONS		lhd_do_nothing
 #define LANG_HOOKS_DECODE_OPTION	lhd_decode_option
-#define LANG_HOOKS_POST_OPTIONS		hook_bool_void_false
+#define LANG_HOOKS_POST_OPTIONS		lhd_post_options
 #define LANG_HOOKS_GET_ALIAS_SET	lhd_get_alias_set
 #define LANG_HOOKS_EXPAND_CONSTANT	lhd_return_tree
 #define LANG_HOOKS_EXPAND_EXPR		lhd_expand_expr
-- 
cgit v1.2.1