aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Stump <mikestump@comcast.net>2013-09-05 14:52:50 +0000
committerMike Stump <mrs@gcc.gnu.org>2013-09-05 14:52:50 +0000
commite6523306de7912d2cdb68dd6b19febe69b9fe201 (patch)
tree4b4076e272c374f56a4fdf95525ec3e0bab40eff
parent80a18161003e982d8a741d475dec2a40ce986320 (diff)
downloadgcc-e6523306de7912d2cdb68dd6b19febe69b9fe201.zip
gcc-e6523306de7912d2cdb68dd6b19febe69b9fe201.tar.gz
gcc-e6523306de7912d2cdb68dd6b19febe69b9fe201.tar.bz2
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
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree-core.h5
-rw-r--r--gcc/tree.h5
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;
diff --git a/gcc/tree.h b/gcc/tree.h
index 2d11aa3..7c1f57b 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -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)