From 8dae1bd3509174539d12da6ed571fd6a62ba73f6 Mon Sep 17 00:00:00 2001 From: kazu Date: Sun, 23 Jan 2005 19:15:36 +0000 Subject: [PATCH] * c-common.c (explicit_flag_signed_bitfields, lang_statement_code_p, lang_expand_function_end): Remove. * c-common.h: Remove the corresponding declarations. * c-opts.c (c_common_handle_option): Remove all write access to explicit_flag_signed_bitfields. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94120 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 6 ++++++ gcc/c-common.c | 9 --------- gcc/c-common.h | 3 --- gcc/c-opts.c | 2 -- 4 files changed, 6 insertions(+), 14 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 889f69b..64247d7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -3,6 +3,12 @@ * cse.c (max_reg, max_insn_uid): Remove. (cse_main): Don't access max_reg or max_insn_uid. + * c-common.c (explicit_flag_signed_bitfields, + lang_statement_code_p, lang_expand_function_end): Remove. + * c-common.h: Remove the corresponding declarations. + * c-opts.c (c_common_handle_option): Remove all write access + to explicit_flag_signed_bitfields. + 2005-01-23 Roger Sayle Eric Botcazou diff --git a/gcc/c-common.c b/gcc/c-common.c index 8f2c9cb..af1d828 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -269,7 +269,6 @@ int flag_const_strings; /* Nonzero means to treat bitfields as signed unless they say `unsigned'. */ int flag_signed_bitfields = 1; -int explicit_flag_signed_bitfields; /* Nonzero means warn about deprecated conversion from string constant to `char *'. */ @@ -483,14 +482,6 @@ tree *ridpointers; tree (*make_fname_decl) (tree, int); -/* If non-NULL, the address of a language-specific function that - returns 1 for language-specific statement codes. */ -int (*lang_statement_code_p) (enum tree_code); - -/* If non-NULL, the address of a language-specific function that takes - any action required right before expand_function_end is called. */ -void (*lang_expand_function_end) (void); - /* Nonzero means the expression being parsed will never be evaluated. This is a count, since unevaluated expressions can nest. */ int skip_evaluation; diff --git a/gcc/c-common.h b/gcc/c-common.h index 1a3f551..d9fcfbb 100644 --- a/gcc/c-common.h +++ b/gcc/c-common.h @@ -280,8 +280,6 @@ struct c_language_function GTY(()) { /* Language-specific hooks. */ -extern void (*lang_expand_function_end) (void); - /* Callback that determines if it's ok for a function to have no noreturn attribute. */ extern int (*lang_missing_noreturn_ok_p) (tree); @@ -403,7 +401,6 @@ extern int flag_const_strings; /* Nonzero means to treat bitfields as signed unless they say `unsigned'. */ extern int flag_signed_bitfields; -extern int explicit_flag_signed_bitfields; /* Nonzero means warn about deprecated conversion from string constant to `char *'. */ diff --git a/gcc/c-opts.c b/gcc/c-opts.c index 1c6274e..aae3a82 100644 --- a/gcc/c-opts.c +++ b/gcc/c-opts.c @@ -588,7 +588,6 @@ c_common_handle_option (size_t scode, const char *arg, int value) case OPT_fsigned_bitfields: flag_signed_bitfields = value; - explicit_flag_signed_bitfields = 1; break; case OPT_fsigned_char: @@ -597,7 +596,6 @@ c_common_handle_option (size_t scode, const char *arg, int value) case OPT_funsigned_bitfields: flag_signed_bitfields = !value; - explicit_flag_signed_bitfields = 1; break; case OPT_funsigned_char: -- 2.7.4