From ea6dafb028261d6a2909c607277c9c2f16c9267e Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 5 Dec 2008 09:51:36 +0100 Subject: [PATCH] re PR c/38408 (compilation error during bootstrap in fold-const.c using TOT!) PR c/38408 * fold-const.c (fold_checksum_tree): Change buf type to union tree_node. From-SVN: r142468 --- gcc/ChangeLog | 6 ++++++ gcc/fold-const.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bde4af7..f42bc22 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2008-12-05 Jakub Jelinek + + PR c/38408 + * fold-const.c (fold_checksum_tree): Change buf type to union + tree_node. + 2008-11-07 Sebastian Pop PR bootstrap/38262 diff --git a/gcc/fold-const.c b/gcc/fold-const.c index 41779e5..f542c45 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -13340,7 +13340,7 @@ fold_checksum_tree (const_tree expr, struct md5_ctx *ctx, htab_t ht) { const void **slot; enum tree_code code; - struct tree_function_decl buf; + union tree_node buf; int i, len; recursive_label: -- 2.7.4