]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
tree-ssa-dom.c (record_cond): Pass correct variable type for last argument to htab_fi...
authorJeff Law <law@redhat.com>
Tue, 1 Feb 2005 03:52:37 +0000 (20:52 -0700)
committerJeff Law <law@gcc.gnu.org>
Tue, 1 Feb 2005 03:52:37 +0000 (20:52 -0700)
        * tree-ssa-dom.c (record_cond): Pass correct variable type
        for last argument to htab_find_slot_with_hash.

From-SVN: r94517

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

index 5320b6dffa6335c08d8c207dce62595df1a13585..ceaeae3122adb4bec1dc536bb1b2bf0e7234819d 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 648ee5625ddf58bec9dda4fa0ee05882724f16c9..244bfa2b0f04a9cba9aa90b35a5c5426b9ec210b 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;