The layout of trees has been restructured since anyone has tried
to enable fold checking (or =all checking).  One of the types
referenced, struct tree_type, doesn't exist anymore.

Jakub, I was hoping you could remember exactly what you were
trying to test for with this assert.  It looks terribly arbitrary
after all this time...


r~
diff --git a/gcc/fold-const.c b/gcc/fold-const.c
index 404d904..7568c6f 100644
--- a/gcc/fold-const.c
+++ b/gcc/fold-const.c
@@ -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);

Reply via email to