aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorRoger Sayle <roger@eyesopen.com>2007-01-11 15:50:50 +0000
committerRoger Sayle <sayle@gcc.gnu.org>2007-01-11 15:50:50 +0000
commit95fd24b6415774f9517b4b5c5d989e535e54e724 (patch)
tree14f7a108fe83a6356a14bbeec16049d1862af610 /gcc/tree.h
parent6311165e6da1b3c3df30bc65acf25b33c8e49120 (diff)
downloadgcc-95fd24b6415774f9517b4b5c5d989e535e54e724.zip
gcc-95fd24b6415774f9517b4b5c5d989e535e54e724.tar.gz
gcc-95fd24b6415774f9517b4b5c5d989e535e54e724.tar.bz2
tree.h (TREE_CONSTANT_OVERFLOW): Obsolete.
* tree.h (TREE_CONSTANT_OVERFLOW): Obsolete. For the time being, treat TREE_CONSTANT_OVERFLOW as a synonym of TREE_OVERFLOW. From-SVN: r120677
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 2e3c087..6ba24ab 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -426,8 +426,6 @@ struct gimple_stmt GTY(())
VAR_DECL, FUNCTION_DECL, CONSTRUCTOR, ADDR_EXPR
BINFO_VIRTUAL_P in
TREE_BINFO
- TREE_CONSTANT_OVERFLOW in
- INTEGER_CST, REAL_CST, COMPLEX_CST, VECTOR_CST
TREE_SYMBOL_REFERENCED in
IDENTIFIER_NODE
CLEANUP_EH_ONLY in
@@ -1133,12 +1131,6 @@ extern void omp_clause_range_check_failed (const tree, const char *, int,
emitted. */
#define TREE_NO_WARNING(NODE) ((NODE)->base.nowarning_flag)
-/* In an INTEGER_CST, REAL_CST, COMPLEX_CST, or VECTOR_CST this means
- there was an overflow in folding. This is distinct from
- TREE_OVERFLOW because ANSI C requires a diagnostic when overflows
- occur in constant expressions. */
-#define TREE_CONSTANT_OVERFLOW(NODE) (CST_CHECK (NODE)->base.static_flag)
-
/* In an IDENTIFIER_NODE, this means that assemble_name was called with
this string as an argument. */
#define TREE_SYMBOL_REFERENCED(NODE) \
@@ -1150,12 +1142,13 @@ extern void omp_clause_range_check_failed (const tree, const char *, int,
(PTR_OR_REF_CHECK (NODE)->base.static_flag)
/* In an INTEGER_CST, REAL_CST, COMPLEX_CST, or VECTOR_CST, this means
- there was an overflow in folding, and no warning has been issued
- for this subexpression. TREE_OVERFLOW implies TREE_CONSTANT_OVERFLOW,
- but not vice versa. */
+ there was an overflow in folding. */
#define TREE_OVERFLOW(NODE) (CST_CHECK (NODE)->base.public_flag)
+/* ??? This is an obsolete synonym for TREE_OVERFLOW. */
+#define TREE_CONSTANT_OVERFLOW(NODE) TREE_OVERFLOW(NODE)
+
/* TREE_OVERFLOW can only be true for EXPR of CONSTANT_CLASS_P. */
#define TREE_OVERFLOW_P(EXPR) \