From 86b2c5b637642a064406be4c02bf107ce338b8c5 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 7 May 2010 17:47:52 +0200 Subject: [PATCH] tree.h (TREE_ADDRESSABLE): Adjust comment to say that this is also meaningful on PARM_DECLs and RESULT_DECLs. * tree.h (TREE_ADDRESSABLE): Adjust comment to say that this is also meaningful on PARM_DECLs and RESULT_DECLs. From-SVN: r159156 --- gcc/ChangeLog | 5 +++++ gcc/tree.h | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3cc8d2b5ccc..c7013c33ff2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-05-07 Jakub Jelinek + + * tree.h (TREE_ADDRESSABLE): Adjust comment to say that + this is also meaningful on PARM_DECLs and RESULT_DECLs. + 2010-05-07 Rainer Orth * config/mips/iris6.h (LINK_SPEC): Don't pass -init, -fini with -r. diff --git a/gcc/tree.h b/gcc/tree.h index 4e5ef70da8b..a03ede5781c 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -411,7 +411,8 @@ struct GTY(()) tree_common { addressable_flag: TREE_ADDRESSABLE in - VAR_DECL, FUNCTION_DECL, FIELD_DECL, LABEL_DECL + VAR_DECL, PARM_DECL, RESULT_DECL, FUNCTION_DECL, FIELD_DECL + LABEL_DECL all types CONSTRUCTOR, IDENTIFIER_NODE STMT_EXPR, it means we want the result of the enclosed expression @@ -1106,8 +1107,8 @@ extern void omp_clause_range_check_failed (const_tree, const char *, int, /* Define many boolean fields that all tree nodes have. */ -/* In VAR_DECL nodes, nonzero means address of this is needed. - So it cannot be in a register. +/* 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 FIELD_DECL node, it means that the programmer is permitted to -- 2.30.2