aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/fold-const.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1b7b273..f120011 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2014-07-14 Jan Hubicka <hubicka@ucw.cz>
+
+ * fold-const.c (fold_checksum_tree): Fix typo in previous patch.
+
2014-07-15 Bernd Schmidt <bernds@codesourcery.com>
* asan.c (asan_finish_file): Use varpool_finalize_decl instead of
diff --git a/gcc/fold-const.c b/gcc/fold-const.c
index 455994c..54322bf 100644
--- a/gcc/fold-const.c
+++ b/gcc/fold-const.c
@@ -14862,7 +14862,7 @@ fold_checksum_tree (const_tree expr, struct md5_ctx *ctx,
if (TREE_CODE (expr) == FUNCTION_DECL)
{
fold_checksum_tree (DECL_VINDEX (expr), ctx, ht);
- fold_checksum_tree (DECL_ARGUMENT (expr), ctx, ht);
+ fold_checksum_tree (DECL_ARGUMENTS (expr), ctx, ht);
}
fold_checksum_tree (DECL_RESULT_FLD (expr), ctx, ht);
}