re PR other/49752 (Non-existing struct `tree_type' in fold_checksum_tree in fold...
authorRichard Henderson <rth@redhat.com>
Fri, 7 Oct 2011 15:35:49 +0000 (08:35 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 7 Oct 2011 15:35:49 +0000 (08:35 -0700)
PR 49752
        * fold-const.c (fold_checksum_tree): Remove out-of-date assert.

From-SVN: r179663

gcc/ChangeLog
gcc/fold-const.c

index 715bcea1066b71321288a68406f2dc2e2ab7a60d..33b4f39ddc2f028c0024fd4f95065902494e661b 100644 (file)
@@ -1,3 +1,8 @@
+2011-10-07  Richard Henderson  <rth@redhat.com>
+
+       PR 49752
+       * fold-const.c (fold_checksum_tree): Remove out-of-date assert.
+
 2011-10-07  Andrew Stubbs  <ams@codesourcery.com>
 
        * config/arm/predicates.md (shift_amount_operand): Remove constant
index 404d904d3ba8d1c8ddbc6247c343c16241a246c2..7568c6f143ac71cbc9d37b42ffc59e763b685607 100644 (file)
@@ -13880,11 +13880,7 @@ fold_checksum_tree (const_tree expr, struct md5_ctx *ctx, htab_t ht)
   union tree_node buf;
   int i, len;
 
-recursive_label:
-
-  gcc_assert ((sizeof (struct tree_exp) + 5 * sizeof (tree)
-              <= sizeof (struct tree_function_decl))
-             && sizeof (struct tree_type) <= sizeof (struct tree_function_decl));
+ recursive_label:
   if (expr == NULL)
     return;
   slot = (void **) htab_find_slot (ht, expr, INSERT);