From dca804668aaf92a49e5ff8e16564924a75727e20 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 7 Oct 2011 08:35:49 -0700 Subject: [PATCH] re PR other/49752 (Non-existing struct `tree_type' in fold_checksum_tree in fold-const.c, can't build with `--enable-checking=fold') PR 49752 * fold-const.c (fold_checksum_tree): Remove out-of-date assert. From-SVN: r179663 --- gcc/ChangeLog | 5 +++++ gcc/fold-const.c | 6 +----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 715bcea1066..33b4f39ddc2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-10-07 Richard Henderson + + PR 49752 + * fold-const.c (fold_checksum_tree): Remove out-of-date assert. + 2011-10-07 Andrew Stubbs * config/arm/predicates.md (shift_amount_operand): Remove constant diff --git a/gcc/fold-const.c b/gcc/fold-const.c index 404d904d3ba..7568c6f143a 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); -- 2.30.2