aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/tree-ssa-dom.c2
2 files changed, 6 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5320b6d..ceaeae3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,7 +1,10 @@
2005-01-31 Jeff Law <law@redhat.com>
- * fold-const.c (fold, case CEIL_MOD_EXPR): Do not lose side
- effects when optimizing 0 % X. Do not try to optimize X % 0.
+ * tree-ssa-dom.c (record_cond): Pass correct variable type
+ for last argument to htab_find_slot_with_hash.
+
+ * fold-const.c (fold, case CEIL_MOD_EXPR): Do not lose side
+ effects when optimizing 0 % X. Do not try to optimize X % 0.
2005-01-31 James E. Wilson <wilson@specifixinc.com>
diff --git a/gcc/tree-ssa-dom.c b/gcc/tree-ssa-dom.c
index 648ee56..244bfa2 100644
--- a/gcc/tree-ssa-dom.c
+++ b/gcc/tree-ssa-dom.c
@@ -1386,7 +1386,7 @@ record_cond (tree cond, tree value)
initialize_hash_element (cond, value, element);
slot = htab_find_slot_with_hash (avail_exprs, (void *)element,
- element->hash, true);
+ element->hash, INSERT);
if (*slot == NULL)
{
*slot = (void *) element;