aboutsummaryrefslogtreecommitdiff
path: root/gcc/analyzer/kf.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/analyzer/kf.cc')
-rw-r--r--gcc/analyzer/kf.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/analyzer/kf.cc b/gcc/analyzer/kf.cc
index ff2f1b1..6088bfc 100644
--- a/gcc/analyzer/kf.cc
+++ b/gcc/analyzer/kf.cc
@@ -288,7 +288,7 @@ kf_memcpy_memmove::impl_call_pre (const call_details &cd) const
const svalue *src_contents_sval
= model->get_store_value (sized_src_reg, cd.get_ctxt ());
model->check_for_poison (src_contents_sval, cd.get_arg_tree (1),
- cd.get_ctxt ());
+ sized_src_reg, cd.get_ctxt ());
model->set_value (sized_dest_reg, src_contents_sval, cd.get_ctxt ());
}