aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJames E Wilson <wilson@specifixinc.com>2005-11-17 17:29:16 -0800
committerJim Wilson <wilson@gcc.gnu.org>2005-11-17 17:29:16 -0800
commitebb23329cd736e3f60eb60f544e9e218baa3a9ab (patch)
treeddbfe9d81523f6d613e8826a42e93aee97f771c7 /gcc
parentf6672e8e52276dcaf1a27e636247383f316ce221 (diff)
downloadgcc-ebb23329cd736e3f60eb60f544e9e218baa3a9ab.zip
gcc-ebb23329cd736e3f60eb60f544e9e218baa3a9ab.tar.gz
gcc-ebb23329cd736e3f60eb60f544e9e218baa3a9ab.tar.bz2
Fix confusing comment typo reported by Rafael Espindola.
* tree.def (FUNCTION_DECL): Correct typo in comment. From-SVN: r107155
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/tree.def4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ca612fb..1f7394e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2005-11-17 James E Wilson <wilson@specifix.com>
+
+ * tree.def (FUNCTION_DECL): Correct typo in comment.
+
2005-11-17 Richard Henderson <rth@redhat.com>
* dwarf2out.c (dw_cfi_oprnd_struct): Reduce dw_cfi_reg_num to int.
diff --git a/gcc/tree.def b/gcc/tree.def
index c1348aa..84d76c4 100644
--- a/gcc/tree.def
+++ b/gcc/tree.def
@@ -326,8 +326,8 @@ DEFTREECODE (STRING_CST, "string_cst", tcc_constant, 0)
FUNCTION_DECLs use four special fields:
DECL_ARGUMENTS holds a chain of PARM_DECL nodes for the arguments.
- DECL_RESULT holds a RESULT_DECL node for the value of a function,
- or it is 0 for a function that returns no value.
+ DECL_RESULT holds a RESULT_DECL node for the value of a function.
+ The DECL_RTL field is 0 for a function that returns no value.
(C functions returning void have zero here.)
The TREE_TYPE field is the type in which the result is actually
returned. This is usually the same as the return type of the