OSDN Git Service

* tree-ssa-dom.c (record_cond): Pass correct variable type
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 1 Feb 2005 03:52:37 +0000 (03:52 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 1 Feb 2005 03:52:37 +0000 (03:52 +0000)
        for last argument to htab_find_slot_with_hash.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94517 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree-ssa-dom.c

index 5320b6d..ceaeae3 100644 (file)
@@ -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>
 
index 648ee56..244bfa2 100644 (file)
@@ -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;