diff options
Diffstat (limited to 'gcc')
| -rw-r--r-- | gcc/ChangeLog | 3 | ||||
| -rw-r--r-- | gcc/tree-pretty-print.c | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6edc326..6cd1fcc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2006-05-10 Ben Elliston <bje@au.ibm.com> + * tree-pretty-print.c (pretty_print_string): No need to handle + '\0' as a special character. + * tree.h: Include "hashtab.h". (iterative_hash_expr): Use hashval_t in its prototype. * Makefile.in (TREE_H): Add $(HASHTAB_H). diff --git a/gcc/tree-pretty-print.c b/gcc/tree-pretty-print.c index b86d2ce..5ce495b 100644 --- a/gcc/tree-pretty-print.c +++ b/gcc/tree-pretty-print.c @@ -2512,9 +2512,7 @@ pretty_print_string (pretty_printer *buffer, const char *str) pp_string (buffer, "\\'"); break; - case '\0': - pp_string (buffer, "\\0"); - break; + /* No need to handle \0; the loop terminates on \0. */ case '\1': pp_string (buffer, "\\1"); |
