aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>2011-10-26 15:31:16 -0400
committerJason Merrill <jason@gcc.gnu.org>2011-10-26 15:31:16 -0400
commit1ca3916f5688863f49976febd57b1a9640d1c71a (patch)
tree21ade8d4825d9024836e5cce7f12ddde0032b6c9 /gcc/tree.c
parent3ce4f9e4d2643273f11647e97b2c7796a64a73dd (diff)
downloadgcc-1ca3916f5688863f49976febd57b1a9640d1c71a.zip
gcc-1ca3916f5688863f49976febd57b1a9640d1c71a.tar.gz
gcc-1ca3916f5688863f49976febd57b1a9640d1c71a.tar.bz2
build_string comments
From-SVN: r180537
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 64c4968..2cbd68b 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -1525,6 +1525,7 @@ build_real_from_int_cst (tree type, const_tree i)
/* Return a newly constructed STRING_CST node whose value is
the LEN characters at STR.
+ Note that for a C string literal, LEN should include the trailing NUL.
The TREE_TYPE is not initialized. */
tree