Commit e2121f17 by Paolo Bonzini Committed by DJ Delorie

tree.h (TREE_DEPRECATED): Document it is used for types too.

2009-07-28  Paolo Bonzini  <bonzinI@gnu.org>

	* tree.h (TREE_DEPRECATED): Document it is used for types too.
	(TYPE_VECTOR_OPAQUE): Use default_def_flag

From-SVN: r150181
parent dde08f9b
2009-07-28 Paolo Bonzini <bonzinI@gnu.org>
* tree.h (TREE_DEPRECATED): Document it is used for types too.
(TYPE_VECTOR_OPAQUE): Use default_def_flag
2009-07-28 Douglas B Rupp <rupp@gnat.com> 2009-07-28 Douglas B Rupp <rupp@gnat.com>
* dwarf2out.c (output_file_names): Test new macro * dwarf2out.c (output_file_names): Test new macro
......
...@@ -577,6 +577,7 @@ struct GTY(()) tree_common { ...@@ -577,6 +577,7 @@ struct GTY(()) tree_common {
TREE_DEPRECATED in TREE_DEPRECATED in
all decls all decls
all types
IDENTIFIER_TRANSPARENT_ALIAS in IDENTIFIER_TRANSPARENT_ALIAS in
IDENTIFIER_NODE IDENTIFIER_NODE
...@@ -584,9 +585,6 @@ struct GTY(()) tree_common { ...@@ -584,9 +585,6 @@ struct GTY(()) tree_common {
STMT_IN_SSA_EDGE_WORKLIST in STMT_IN_SSA_EDGE_WORKLIST in
all expressions (tree-ssa-propagate.c) all expressions (tree-ssa-propagate.c)
TYPE_VECTOR_OPAQUE in
VECTOR_TYPE
visited: visited:
TREE_VISITED in TREE_VISITED in
...@@ -605,6 +603,9 @@ struct GTY(()) tree_common { ...@@ -605,6 +603,9 @@ struct GTY(()) tree_common {
default_def_flag: default_def_flag:
TYPE_VECTOR_OPAQUE in
VECTOR_TYPE
SSA_NAME_IS_DEFAULT_DEF in SSA_NAME_IS_DEFAULT_DEF in
SSA_NAME SSA_NAME
*/ */
...@@ -2187,7 +2188,7 @@ extern enum machine_mode vector_type_mode (const_tree); ...@@ -2187,7 +2188,7 @@ extern enum machine_mode vector_type_mode (const_tree);
/* Nonzero in a VECTOR_TYPE if the frontends should not emit warnings /* Nonzero in a VECTOR_TYPE if the frontends should not emit warnings
about missing conversions to other vector types of the same size. */ about missing conversions to other vector types of the same size. */
#define TYPE_VECTOR_OPAQUE(NODE) \ #define TYPE_VECTOR_OPAQUE(NODE) \
(VECTOR_TYPE_CHECK (NODE)->base.deprecated_flag) (VECTOR_TYPE_CHECK (NODE)->base.default_def_flag)
/* Indicates that objects of this type must be initialized by calling a /* Indicates that objects of this type must be initialized by calling a
function when they are created. */ function when they are created. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment