diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/tree-core.h | 5 | ||||
| -rw-r--r-- | gcc/tree.h | 5 |
3 files changed, 10 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c6d9c01..8aec62f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2013-09-05 Mike Stump <mikestump@comcast.net> + + * tree.h: Move documentation for tree_function_decl to tree-core.h + with the declaration. + 2013-09-05 Peter Bergner <bergner@vnet.ibm.com> PR target/58139 diff --git a/gcc/tree-core.h b/gcc/tree-core.h index 57d5e9c..b1bc56a 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; @@ -2543,11 +2543,6 @@ extern vec<tree, va_gc> **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) |
