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
This commit is contained in:
Richard Henderson 2011-10-07 08:35:49 -07:00 committed by Richard Henderson
parent 793f1c97d1
commit dca804668a
2 changed files with 6 additions and 5 deletions

View 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> 2011-10-07 Andrew Stubbs <ams@codesourcery.com>
* config/arm/predicates.md (shift_amount_operand): Remove constant * config/arm/predicates.md (shift_amount_operand): Remove constant

View File

@ -13880,11 +13880,7 @@ fold_checksum_tree (const_tree expr, struct md5_ctx *ctx, htab_t ht)
union tree_node buf; union tree_node buf;
int i, len; int i, len;
recursive_label: 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));
if (expr == NULL) if (expr == NULL)
return; return;
slot = (void **) htab_find_slot (ht, expr, INSERT); slot = (void **) htab_find_slot (ht, expr, INSERT);