diff options
author | Sean Bruno <sbruno@FreeBSD.org> | 2013-11-15 18:44:25 +0000 |
---|---|---|
committer | Sean Bruno <sbruno@FreeBSD.org> | 2013-11-15 18:44:25 +0000 |
commit | 2f0e4b9e6290d333c4491864808c4e007582b375 (patch) | |
tree | e8f390d2cc3233619b858e7edd30334405028d68 /contrib/gcc/tree.h | |
parent | 70046ce6504f2201ff6a0fecac8cace0c64d4cd1 (diff) | |
download | src-2f0e4b9e6290d333c4491864808c4e007582b375.tar.gz src-2f0e4b9e6290d333c4491864808c4e007582b375.zip |
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
Notes
Notes:
svn path=/head/; revision=258179
Diffstat (limited to 'contrib/gcc/tree.h')
-rw-r--r-- | contrib/gcc/tree.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/gcc/tree.h b/contrib/gcc/tree.h index 97090be41fcb..4075ab0bae4b 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 |