* tree.h (tree_fits_shwi_p, tree_fits_uhwi_p): Unconditionally pure.
authorNathan Sidwell <nathan@acm.org>
Tue, 9 May 2017 15:15:46 +0000 (15:15 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 9 May 2017 15:15:46 +0000 (15:15 +0000)
From-SVN: r247800

gcc/ChangeLog
gcc/tree.h

index 4e0abcab0cd61c1f8b62efc8fbe4fc921bff6360..8a0544f5d6ea55eabd141d2d78141a7afb0726cb 100644 (file)
@@ -1,5 +1,7 @@
 2017-05-09  Nathan Sidwell  <nathan@acm.org>
 
+       * tree.h (tree_fits_shwi_p, tree_fits_uhwi_p): Unconditionally pure.
+
        * ipa-devirt.c (default_hash_traits<type_pair>): Skip struct-scope
        typedefs.
 
index 1b7d86a5257d3b2b25b1457960c986a39df2821c..c6e883c489fc94b09b0e5c1f9f86a5dcfe05c6a8 100644 (file)
@@ -4109,15 +4109,9 @@ extern int attribute_list_contained (const_tree, const_tree);
 extern int tree_int_cst_equal (const_tree, const_tree);
 
 extern bool tree_fits_shwi_p (const_tree)
-#ifndef ENABLE_TREE_CHECKING
-  ATTRIBUTE_PURE /* tree_fits_shwi_p is pure only when checking is disabled.  */
-#endif
-  ;
+  ATTRIBUTE_PURE;
 extern bool tree_fits_uhwi_p (const_tree)
-#ifndef ENABLE_TREE_CHECKING
-  ATTRIBUTE_PURE /* tree_fits_uhwi_p is pure only when checking is disabled.  */
-#endif
-  ;
+  ATTRIBUTE_PURE;
 extern HOST_WIDE_INT tree_to_shwi (const_tree);
 extern unsigned HOST_WIDE_INT tree_to_uhwi (const_tree);
 #if !defined ENABLE_TREE_CHECKING && (GCC_VERSION >= 4003)