From: James E Wilson Date: Fri, 18 Nov 2005 01:29:16 +0000 (-0800) Subject: Fix confusing comment typo reported by Rafael Espindola. X-Git-Tag: releases/gcc-4.1.0~728 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ebb23329cd736e3f60eb60f544e9e218baa3a9ab;p=thirdparty%2Fgcc.git Fix confusing comment typo reported by Rafael Espindola. * tree.def (FUNCTION_DECL): Correct typo in comment. From-SVN: r107155 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ca612fb0fe62..1f7394e278c9 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 c1348aac8b58..84d76c465330 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