diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2005-02-14 08:52:24 +0000 |
---|---|---|
committer | Paolo Bonzini <bonzini@gcc.gnu.org> | 2005-02-14 08:52:24 +0000 |
commit | be0f1e5478e1aba8e8231e6f42d60b096ba2726a (patch) | |
tree | 051695b6217a00738df88eb4f5452b7d4833bd75 /libcpp/pch.c | |
parent | 623049aa3c72118db18bed0c09a2bd88c3ef4664 (diff) | |
download | gcc-be0f1e5478e1aba8e8231e6f42d60b096ba2726a.tar.gz |
re PR bootstrap/19818 (GCC 4.0 cannot bootstrap itself)
include:
2005-02-08 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/19818
* ansidecl.h (PARAMS): Guard from redefinition.
libcpp:
2005-02-08 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/19818
* configure.ac: Check for declaration of basename and getopt.
* config.in: Regenerate.
* configure: Regenerate.
* internal.h (ustrcspn): New.
* macro.c (create_iso_definition): Fix allocation of memory.
(padding_token): Add cast to remove const-ness.
* pch.c (cpp_read_state): Use ustrcspn.
From-SVN: r95003
Diffstat (limited to 'libcpp/pch.c')
-rw-r--r-- | libcpp/pch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpp/pch.c b/libcpp/pch.c index 292132139d2..8de5c01a8fc 100644 --- a/libcpp/pch.c +++ b/libcpp/pch.c @@ -653,7 +653,7 @@ cpp_read_state (cpp_reader *r, const char *name, FILE *f, size_t namelen; uchar *defn; - namelen = strcspn (data->defns[i], "( \n"); + namelen = ustrcspn (data->defns[i], "( \n"); h = cpp_lookup (r, data->defns[i], namelen); defn = data->defns[i] + namelen; |