]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix rtl-check build
authorTom de Vries <tom@codesourcery.com>
Thu, 29 May 2014 16:32:16 +0000 (16:32 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Thu, 29 May 2014 16:32:16 +0000 (16:32 +0000)
2014-05-29  Tom de Vries  <tom@codesourcery.com>

* rtl.h (BLOCK_SYMBOL_CHECK): Use SYMBOL_REF_FLAGS.

From-SVN: r211057

gcc/ChangeLog
gcc/rtl.h

index 789a71ce8afeca970a3826e5f61e8671cc64ddd2..38d7cc84830f8fd89ee8ee5e7f698a444f4a5b66 100644 (file)
@@ -1,3 +1,7 @@
+2014-05-29  Tom de Vries  <tom@codesourcery.com>
+
+       * rtl.h (BLOCK_SYMBOL_CHECK): Use SYMBOL_REF_FLAGS.
+
 2014-05-29  Richard Earnshaw <rearnsha@arm.com>
        Richard Sandiford  <rdsandiford@googlemail.com>
 
index 02ce4248d9c344a22a2a71a3083726aa6829defa..51cfae5ffa6a361ecd4ab1c088f5b2ae6c6b0ee1 100644 (file)
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -708,7 +708,7 @@ struct GTY(()) rtvec_def {
 
 #define BLOCK_SYMBOL_CHECK(RTX) __extension__                          \
 ({ __typeof (RTX) const _symbol = (RTX);                               \
-   const unsigned int flags = RTL_CHECKC1 (_symbol, 1, SYMBOL_REF).rt_int; \
+   const unsigned int flags = SYMBOL_REF_FLAGS (_symbol);              \
    if ((flags & SYMBOL_FLAG_HAS_BLOCK_INFO) == 0)                      \
      rtl_check_failed_block_symbol (__FILE__, __LINE__,                        \
                                    __FUNCTION__);                      \