From: Mike Stump Date: Thu, 5 Sep 2013 14:52:50 +0000 (+0000) Subject: tree.h: Move documentation for tree_function_decl to tree-core.h with the declaration. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e6523306de7912d2cdb68dd6b19febe69b9fe201;p=gcc.git tree.h: Move documentation for tree_function_decl to tree-core.h with the declaration. * tree.h: Move documentation for tree_function_decl to tree-core.h with the declaration. From-SVN: r202289 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c6d9c010033..8aec62f724e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2013-09-05 Mike Stump + + * tree.h: Move documentation for tree_function_decl to tree-core.h + with the declaration. + 2013-09-05 Peter Bergner PR target/58139 diff --git a/gcc/tree-core.h b/gcc/tree-core.h index 57d5e9c6817..b1bc56ae29f 100644 --- a/gcc/tree-core.h +++ b/gcc/tree-core.h @@ -1328,6 +1328,11 @@ struct GTY(()) tree_decl_non_common { tree vindex; }; +/* FUNCTION_DECL inherits from DECL_NON_COMMON because of the use of the + arguments/result/saved_tree fields by front ends. It was either inherit + FUNCTION_DECL from non_common, or inherit non_common from FUNCTION_DECL, + which seemed a bit strange. */ + struct GTY(()) tree_function_decl { struct tree_decl_non_common common; diff --git a/gcc/tree.h b/gcc/tree.h index 2d11aa30173..7c1f57b829b 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -2543,11 +2543,6 @@ extern vec **decl_debug_args_insert (tree); #define DECL_FINAL_P(NODE)\ (FUNCTION_DECL_CHECK (NODE)->decl_with_vis.final) -/* FUNCTION_DECL inherits from DECL_NON_COMMON because of the use of the - arguments/result/saved_tree fields by front ends. It was either inherit - FUNCTION_DECL from non_common, or inherit non_common from FUNCTION_DECL, - which seemed a bit strange. */ - /* The source language of the translation-unit. */ #define TRANSLATION_UNIT_LANGUAGE(NODE) \ (TRANSLATION_UNIT_DECL_CHECK (NODE)->translation_unit_decl.language)