diff options
author | kan <kan@FreeBSD.org> | 2003-07-11 03:40:53 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2003-07-11 03:40:53 +0000 |
commit | b2a8872fbe1ec1c49094559ac7b78e6ea4ab7180 (patch) | |
tree | f6b0610f4a17fd26aa234354f050080f789861a4 /contrib/gcc/read-rtl.c | |
parent | 52e69d78eee5612ac195e0701a5cebe40d1ab0e1 (diff) | |
download | FreeBSD-src-b2a8872fbe1ec1c49094559ac7b78e6ea4ab7180.zip FreeBSD-src-b2a8872fbe1ec1c49094559ac7b78e6ea4ab7180.tar.gz |
Gcc 3.3.1-pre as of 2003-07-11.
Diffstat (limited to 'contrib/gcc/read-rtl.c')
-rw-r--r-- | contrib/gcc/read-rtl.c | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/contrib/gcc/read-rtl.c b/contrib/gcc/read-rtl.c index 5b937ec..5efd5dc 100644 --- a/contrib/gcc/read-rtl.c +++ b/contrib/gcc/read-rtl.c @@ -25,15 +25,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "obstack.h" #include "hashtab.h" -#ifndef ISDIGIT -#include <ctype.h> -#define ISDIGIT isdigit -#define ISSPACE isspace -#endif - -#define obstack_chunk_alloc xmalloc -#define obstack_chunk_free free - static htab_t md_constants; static void fatal_with_file_and_line PARAMS ((FILE *, const char *, ...)) @@ -44,7 +35,7 @@ static char *read_string PARAMS ((struct obstack *, FILE *, int)); static char *read_quoted_string PARAMS ((struct obstack *, FILE *)); static char *read_braced_string PARAMS ((struct obstack *, FILE *)); static void read_escape PARAMS ((struct obstack *, FILE *)); -static unsigned def_hash PARAMS ((const void *)); +static hashval_t def_hash PARAMS ((const void *)); static int def_name_eq_p PARAMS ((const void *, const void *)); static void read_constants PARAMS ((FILE *infile, char *tmp_char)); static void validate_const_int PARAMS ((FILE *, const char *)); @@ -265,7 +256,7 @@ read_escape (ob, infile) obstack_1grow (ob, c); } - + /* Read a double-quoted string onto the obstack. Caller has scanned the leading quote. */ @@ -325,7 +316,7 @@ read_braced_string (ob, infile) obstack_1grow (ob, c); } - + obstack_1grow (ob, 0); return obstack_finish (ob); } @@ -361,7 +352,7 @@ read_string (ob, infile, star_if_braced) } else fatal_with_file_and_line (infile, "expected `\"' or `{', found `%c'", c); - + if (saw_paren) { c = read_skip_spaces (infile); @@ -410,7 +401,7 @@ atoll (p) #endif /* Given a constant definition, return a hash code for its name. */ -static unsigned +static hashval_t def_hash (def) const void *def; { @@ -639,7 +630,7 @@ again: { XVEC (return_rtx, i) = 0; break; - } + } /* Now process the vector. */ case 'E': @@ -694,7 +685,7 @@ again: gets a star inserted as its first character, if it is written with a brace block instead of a string constant. */ int star_if_braced = (format_ptr[-1] == 'T'); - + stringbuf = read_string (&rtl_obstack, infile, star_if_braced); /* For insn patterns, we want to provide a default name |