OSDN Git Service

* tree.h (TREE_ADDRESSABLE): Adjust comment to say that
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 May 2010 15:47:52 +0000 (15:47 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:02:19 +0000 (14:02 +0900)
this is also meaningful on PARM_DECLs and RESULT_DECLs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159156 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree.h

index 3cc8d2b..c7013c3 100644 (file)
@@ -1,3 +1,8 @@
+2010-05-07  Jakub Jelinek  <jakub@redhat.com>
+
+       * tree.h (TREE_ADDRESSABLE): Adjust comment to say that
+       this is also meaningful on PARM_DECLs and RESULT_DECLs.
+
 2010-05-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        * config/mips/iris6.h (LINK_SPEC): Don't pass -init, -fini with -r.
index 4e5ef70..a03ede5 100644 (file)
@@ -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,
 \f
 /* 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