summaryrefslogtreecommitdiffstats
path: root/contrib/gcc
diff options
context:
space:
mode:
authorsbruno <sbruno@FreeBSD.org>2013-11-15 18:44:25 +0000
committersbruno <sbruno@FreeBSD.org>2013-11-15 18:44:25 +0000
commitf5a8595bc4fccca3eb882d06ba41dd4960c012b9 (patch)
treee8f390d2cc3233619b858e7edd30334405028d68 /contrib/gcc
parentb42abe92d46edda78555acbfa8416f25105f3074 (diff)
downloadFreeBSD-src-f5a8595bc4fccca3eb882d06ba41dd4960c012b9.zip
FreeBSD-src-f5a8595bc4fccca3eb882d06ba41dd4960c012b9.tar.gz
Merge in gcc svn r120505 to include definition of TREE_OVERFLOW_P:
http://gcc.gnu.org/viewcvs/gcc/trunk/gcc/tree.h?revision=120505&view=markup This repairs build breakage for non x86 arch's that use gcc to build intruduced at svn R258157
Diffstat (limited to 'contrib/gcc')
-rw-r--r--contrib/gcc/tree.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/gcc/tree.h b/contrib/gcc/tree.h
index 97090be..4075ab0 100644
--- a/contrib/gcc/tree.h
+++ b/contrib/gcc/tree.h
@@ -1084,6 +1084,11 @@ extern void omp_clause_range_check_failed (const tree, const char *, int,
#define TREE_OVERFLOW(NODE) (CST_CHECK (NODE)->common.public_flag)
+/* TREE_OVERFLOW can only be true for EXPR of CONSTANT_CLASS_P. */
+
+#define TREE_OVERFLOW_P(EXPR) \
+ (CONSTANT_CLASS_P (EXPR) && TREE_OVERFLOW (EXPR))
+
/* In a VAR_DECL, FUNCTION_DECL, NAMESPACE_DECL or TYPE_DECL,
nonzero means name is to be accessible from outside this module.
In an IDENTIFIER_NODE, nonzero means an external declaration
OpenPOWER on IntegriCloud