summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-dom.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-01 03:52:37 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2005-02-01 03:52:37 +0000
commit67c4f3093d7631cc607325c6f04fe998f366cc6c (patch)
tree83ed66a40e3028a9c6883242451b34c57d7b96e4 /gcc/tree-ssa-dom.c
parent4d1b35cdbeff9ad8592969ade835a963fec1418b (diff)
downloadgcc-67c4f3093d7631cc607325c6f04fe998f366cc6c.tar.gz
* tree-ssa-dom.c (record_cond): Pass correct variable type
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
Diffstat (limited to 'gcc/tree-ssa-dom.c')
-rw-r--r--gcc/tree-ssa-dom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-dom.c b/gcc/tree-ssa-dom.c
index 648ee5625dd..244bfa2b0f0 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;