diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-10-17 20:26:29 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-10-17 20:26:29 +0000 |
commit | ba1c8484dd9f158c58d0572f7d77a50d721bedaa (patch) | |
tree | 15838ddf2fc3b9a91598b7edfce12e6d16b40cd4 /gcc/mips-tfile.c | |
parent | 346db3f737ef406fe269082639e42ee9af67482e (diff) | |
download | gcc-ba1c8484dd9f158c58d0572f7d77a50d721bedaa.tar.gz |
Warning fixes:
* Makefile.in (flow.o): Depend on recog.h.
* cpplib.h (directive_table): Add missing initializiers.
(finclude): Change type of variable `bsize' to size_t.
* cse.c (rtx_cost): Mark parameter `outer_code' with ATTRIBUTE_UNUSED.
* dwarfout.h (dwarfout_label): Wrap prototype in macro RTX_CODE.
* fix-header.c (lookup_std_proto): Cast the result of `strlen' to
`int' when comparing against one.
(cpp_file_line_for_message): Mark parameter `pfile' with
ATTRIBUTE_UNUSED.
(cpp_fatal): Mark parameter `pfile' with ATTRIBUTE_UNUSED.
* flow.c: Include recog.h.
(sbitmap_copy): Cast arguments 1 & 2 of `bcopy' to (PTR).
* function.c (thread_prologue_and_epilogue_insns): Mark parameter
`f' with ATTRIBUTE_UNUSED.
(reposition_prologue_and_epilogue_notes): Likewise.
* genopinit.c (gen_insn): Cast argument of ctype functions to
`unsigned char'.
* haifa-sched.c: Include recog.h.
(blockage_range): Cast result of UNIT_BLOCKED macro to (int) when
comparing against one.
* libgcc2.a (__throw): Revert ATTRIBUTE_UNUSED change for now.
* mips-tfile.c (parse_end): Cast the argument of ctype function to
`unsigned char'.
(parse_ent): Likewise.
(parse_input): Likewise.
* optabs.c (init_libfuncs): Likewise.
* protoize.c (find_rightmost_formals_list): Likewise.
* recog.h (const_double_operand): Fix typo in prototype.
* tlink.c (scan_linker_output): Cast the argument of ctype
function to `unsigned char'.
* toplev.c (check_lang_option): Cast the result of `strlen' to
`int' when comparing against one.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23155 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/mips-tfile.c')
-rw-r--r-- | gcc/mips-tfile.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/mips-tfile.c b/gcc/mips-tfile.c index 0922bf1ad14..c1407703077 100644 --- a/gcc/mips-tfile.c +++ b/gcc/mips-tfile.c @@ -3472,7 +3472,7 @@ parse_end (start) } /* Get the function name, skipping whitespace. */ - for (start_func = start; ISSPACE (*start_func); start_func++) + for (start_func = start; ISSPACE ((unsigned char)*start_func); start_func++) ; ch = *start_func; @@ -3531,7 +3531,7 @@ parse_ent (start) return; } - for (start_func = start; ISSPACE (*start_func); start_func++) + for (start_func = start; ISSPACE ((unsigned char)*start_func); start_func++) ; ch = *start_func; @@ -3871,16 +3871,16 @@ parse_input __proto((void)) while ((p = read_line ()) != (char *) 0) { /* Skip leading blanks */ - while (ISSPACE (*p)) + while (ISSPACE ((unsigned char)*p)) p++; /* See if it's a directive we handle. If so, dispatch handler. */ for (i = 0; i < sizeof (pseudo_ops) / sizeof (pseudo_ops[0]); i++) if (memcmp (p, pseudo_ops[i].name, pseudo_ops[i].len) == 0 - && ISSPACE (p[pseudo_ops[i].len])) + && ISSPACE ((unsigned char)(p[pseudo_ops[i].len]))) { p += pseudo_ops[i].len; /* skip to first argument */ - while (ISSPACE (*p)) + while (ISSPACE ((unsigned char)*p)) p++; (*pseudo_ops[i].func)( p ); |