aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2008-12-05 09:51:36 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2008-12-05 09:51:36 +0100
commitea6dafb028261d6a2909c607277c9c2f16c9267e (patch)
treec14406fb70101244102262b343af28b830678d30 /gcc
parent250d2fb5b2e0403954397dfc02d91acaa92bd243 (diff)
downloadgcc-ea6dafb028261d6a2909c607277c9c2f16c9267e.zip
gcc-ea6dafb028261d6a2909c607277c9c2f16c9267e.tar.gz
gcc-ea6dafb028261d6a2909c607277c9c2f16c9267e.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/fold-const.c2
2 files changed, 7 insertions, 1 deletions
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 <jakub@redhat.com>
+
+ PR c/38408
+ * fold-const.c (fold_checksum_tree): Change buf type to union
+ tree_node.
+
2008-11-07 Sebastian Pop <sebastian.pop@amd.com>
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: