aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2005-01-31 20:52:37 -0700
committerJeff Law <law@gcc.gnu.org>2005-01-31 20:52:37 -0700
commit5746637cfa10affd139b6c49a4e757ae3d5c6022 (patch)
tree83ed66a40e3028a9c6883242451b34c57d7b96e4 /gcc
parentdc5d4efbce3e6587b31da8d6d1c502aea80acfcc (diff)
downloadgcc-5746637cfa10affd139b6c49a4e757ae3d5c6022.zip
gcc-5746637cfa10affd139b6c49a4e757ae3d5c6022.tar.gz
gcc-5746637cfa10affd139b6c49a4e757ae3d5c6022.tar.bz2
tree-ssa-dom.c (record_cond): Pass correct variable type for last argument to htab_find_slot_with_hash.
* tree-ssa-dom.c (record_cond): Pass correct variable type for last argument to htab_find_slot_with_hash. From-SVN: r94517
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;