diff options
author | bernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-25 22:17:02 +0000 |
---|---|---|
committer | bernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-25 22:17:02 +0000 |
commit | 4fd61bc65be58c3ae6a337331a66569609fa24fc (patch) | |
tree | d4ef1636ca1b7a8d3ec231e0f5b6e84697ddeb94 /gcc/read-rtl.c | |
parent | f4d1037064bcbf270661c9e2b02defce1e998690 (diff) | |
download | gcc-4fd61bc65be58c3ae6a337331a66569609fa24fc.tar.gz |
* basic-block.h (reorder_block_def): Rename to reorder_block_def_p.
* c-common.c: Add missing casts from void * to other types.
* c-decl.c: Likewise.
* c-format.c: Likewise.
* c-lex.c: Likewise.
* c-pragma.c: Likewise.
* c-typeck.c: Likewise.
* defaults.h: Likewise.
* genconstants.c: Likewise.
* gengtype-lex.l: Likewise.
* genmodes.c: Likewise.
* read-rtl.c: Likewise.
* rtl.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85166 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/read-rtl.c')
-rw-r--r-- | gcc/read-rtl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/read-rtl.c b/gcc/read-rtl.c index 3252a0fcd9f..46ca61a188d 100644 --- a/gcc/read-rtl.c +++ b/gcc/read-rtl.c @@ -191,7 +191,7 @@ read_name (char *str, FILE *infile) struct md_constant tmp_def; tmp_def.name = p; - def = htab_find (md_constants, &tmp_def); + def = (struct md_constant *) htab_find (md_constants, &tmp_def); if (def) p = def->value; } while (def); @@ -277,7 +277,7 @@ read_quoted_string (struct obstack *ob, FILE *infile) } obstack_1grow (ob, 0); - return obstack_finish (ob); + return (char *) obstack_finish (ob); } /* Read a braced string (a la Tcl) onto the obstack. Caller has @@ -315,7 +315,7 @@ read_braced_string (struct obstack *ob, FILE *infile) } obstack_1grow (ob, 0); - return obstack_finish (ob); + return (char *) obstack_finish (ob); } /* Read some kind of string constant. This is the high-level routine @@ -455,7 +455,7 @@ read_constants (FILE *infile, char *tmp_char) } else { - def = *entry_ptr; + def = (struct md_constant *) *entry_ptr; if (strcmp (def->value, tmp_char)) fatal_with_file_and_line (infile, "redefinition of %s, was %s, now %s", |