Commit 5746637c by Jeff Law Committed by Jeff Law

tree-ssa-dom.c (record_cond): Pass correct variable type for last argument to…

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
parent dc5d4efb
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>
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment