From ebb23329cd736e3f60eb60f544e9e218baa3a9ab Mon Sep 17 00:00:00 2001 From: James E Wilson Date: Thu, 17 Nov 2005 17:29:16 -0800 Subject: [PATCH] Fix confusing comment typo reported by Rafael Espindola. * tree.def (FUNCTION_DECL): Correct typo in comment. From-SVN: r107155 --- gcc/ChangeLog | 4 ++++ gcc/tree.def | 4 ++-- 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 + + * tree.def (FUNCTION_DECL): Correct typo in comment. + 2005-11-17 Richard Henderson * 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 -- 2.7.4