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);