Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Nov 2013 18:44:25 +0000 (UTC)
From:      Sean Bruno <sbruno@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r258179 - head/contrib/gcc
Message-ID:  <201311151844.rAFIiPq0031444@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sbruno
Date: Fri Nov 15 18:44:25 2013
New Revision: 258179
URL: http://svnweb.freebsd.org/changeset/base/258179

Log:
  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

Modified:
  head/contrib/gcc/tree.h

Modified: head/contrib/gcc/tree.h
==============================================================================
--- head/contrib/gcc/tree.h	Fri Nov 15 16:35:28 2013	(r258178)
+++ head/contrib/gcc/tree.h	Fri Nov 15 18:44:25 2013	(r258179)
@@ -1084,6 +1084,11 @@ extern void omp_clause_range_check_faile
 
 #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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311151844.rAFIiPq0031444>