aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/c-tree.texi2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 38d6aaf..b835dd9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2001-06-04 Joseph S. Myers <jsm28@cam.ac.uk>
+
+ * doc/c-tree.texi: Fix documentation of TREE_STRING_LENGTH for
+ wide strings.
+
Mon Jun 4 20:44:25 CEST 2001 Jan Hubicka <jh@suse.cz>
* simplify-rtx.c (simplify_subreg): Fix combining of
diff --git a/gcc/doc/c-tree.texi b/gcc/doc/c-tree.texi
index 9a1ee2f..1e2f32d 100644
--- a/gcc/doc/c-tree.texi
+++ b/gcc/doc/c-tree.texi
@@ -1826,7 +1826,7 @@ embedded @code{NUL} characters. Therefore, the
present.
For wide string constants, the @code{TREE_STRING_LENGTH} is the number
-of wide characters in the string, and the @code{TREE_STRING_POINTER}
+of bytes in the string, and the @code{TREE_STRING_POINTER}
points to an array of the bytes of the string, as represented on the
target system (that is, as integers in the target endianness). Wide and
non-wide string constants are distinguished only by the @code{TREE_TYPE}