diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-03-06 05:34:26 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-03-06 05:34:26 +0000 |
commit | 3eee82c52e790c83edbe1be7b372f2f5d10c2810 (patch) | |
tree | c772c985a70004b9455673e66fda09916b427de1 /gcc/stmt.c | |
parent | 3456754b2dfa529e761e5f991d81820d8a6482ed (diff) | |
download | ppe42-gcc-3eee82c52e790c83edbe1be7b372f2f5d10c2810.tar.gz ppe42-gcc-3eee82c52e790c83edbe1be7b372f2f5d10c2810.zip |
* c-aux-info.c (data_type, affix_data_type, gen_decl,
gen_formal_list_for_type, gen_formal_list_for_func_def, gen_type):
Qualify a char* with the `const' keyword.
* c-common.c (declare_hidden_char_array, add_attribute, if_elt,
declare_function_name, decl_attributes, format_char_info,
check_format_info, binary_op_error): Likewise.
* cexp.y (yyerror, error, pedwarn, warning, token): Likewise.
* gcse.c (dump_hash_table): Likewise.
* integrate.c (function_cannot_inline_p): Likewise
* optabs.c: Include insn-config.h earlier.
(init_libfuncs, init_integral_libfuncs, init_floating_libfuncs):
Qualify a char* with the `const' keyword.
* real.c (asctoe24, asctoe53, asctoe64, asctoe113, asctoe,
asctoeg, mtherr, ereal_atof): Likewise.
* real.h (ereal_atof): Likewise.
* sbitmap.c (dump_sbitmap_vector): Likewise.
* sbitmap.h (dump_sbitmap_vector): Likewise.
* stmt.c (nesting, n_occurrences, expand_start_case): Likewise.
* toplev.c (rest_of_compilation): Likewise.
* tree.h (function_cannot_inline_p, expand_start_case): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25614 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r-- | gcc/stmt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/stmt.c b/gcc/stmt.c index 385920847cc..15ac541c7fe 100644 --- a/gcc/stmt.c +++ b/gcc/stmt.c @@ -306,7 +306,7 @@ struct nesting /* Number of range exprs in case statement. */ int num_ranges; /* Name of this kind of statement, for warnings. */ - char *printname; + const char *printname; /* Used to save no_line_numbers till we see the first case label. We set this to -1 when we see the first case label in this case statement. */ @@ -425,7 +425,7 @@ struct label_chain static int using_eh_for_cleanups_p = 0; -static int n_occurrences PROTO((int, char *)); +static int n_occurrences PROTO((int, const char *)); static void expand_goto_internal PROTO((tree, rtx, rtx)); static int expand_fixup PROTO((tree, rtx, rtx)); static rtx expand_nl_handler_label PROTO((rtx, rtx)); @@ -1120,7 +1120,7 @@ fixup_gotos (thisblock, stack_level, cleanup_list, first_insn, dont_jump_in) static int n_occurrences (c, s) int c; - char *s; + const char *s; { int n = 0; while (*s) @@ -4172,7 +4172,7 @@ expand_start_case (exit_flag, expr, type, printname) int exit_flag; tree expr; tree type; - char *printname; + const char *printname; { register struct nesting *thiscase = ALLOC_NESTING (); |