aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2011-10-07 08:35:49 -0700
committerRichard Henderson <rth@gcc.gnu.org>2011-10-07 08:35:49 -0700
commitdca804668aaf92a49e5ff8e16564924a75727e20 (patch)
tree7236c1962631dbb8adc6122774c376977609caf2 /gcc/fold-const.c
parent793f1c97d1c1a696faac40c960edf8928b63b936 (diff)
downloadgcc-dca804668aaf92a49e5ff8e16564924a75727e20.zip
gcc-dca804668aaf92a49e5ff8e16564924a75727e20.tar.gz
gcc-dca804668aaf92a49e5ff8e16564924a75727e20.tar.bz2
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
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r--gcc/fold-const.c6
1 files changed, 1 insertions, 5 deletions
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);