From 52517c812172e86276c778b0d1f7fbaa4d1eff6e Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 4 Mar 2011 21:21:56 +1030 Subject: [PATCH] tree.h (TREE_ADDRESSABLE): Update FUNCTION_DECL comment. * tree.h (TREE_ADDRESSABLE): Update FUNCTION_DECL comment. From-SVN: r170674 --- gcc/ChangeLog | 4 ++++ gcc/tree.h | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9c4631aa50c..a88d24c452a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2011-03-04 Alan Modra + + * tree.h (TREE_ADDRESSABLE): Update FUNCTION_DECL comment. + 2011-03-04 Richard Guenther PR middle-end/47968 diff --git a/gcc/tree.h b/gcc/tree.h index a49e3358275..296e6de8ee4 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -1106,8 +1106,7 @@ extern void omp_clause_range_check_failed (const_tree, const char *, int, /* In VAR_DECL, PARM_DECL and RESULT_DECL nodes, nonzero means address of this is needed. So it cannot be in a register. - In a FUNCTION_DECL, nonzero means its address is needed. - So it must be compiled even if it is an inline function. + In a FUNCTION_DECL it has no meaning. In CONSTRUCTOR nodes, it means object constructed must be in memory. In LABEL_DECL nodes, it means a goto for this label has been seen from a place outside all binding contours that restore stack levels. -- 2.30.2