diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | 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 <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 |