projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2242b97
)
analyzer: fix name of local in region_model::get_rvalue_1
author
David Malcolm
<dmalcolm@redhat.com>
Fri, 14 Aug 2020 19:32:01 +0000
(15:32 -0400)
committer
David Malcolm
<dmalcolm@redhat.com>
Tue, 18 Aug 2020 00:48:01 +0000
(20:48 -0400)
gcc/analyzer/ChangeLog:
* region-model.cc (region_model::get_rvalue_1): Fix name of local.
gcc/analyzer/region-model.cc
patch
|
blob
|
history
diff --git
a/gcc/analyzer/region-model.cc
b/gcc/analyzer/region-model.cc
index 305e9648c7913f10052174899a9853714d73e008..c3d9ca7f65000abe49143b16f38e1bd74cc603c9 100644
(file)
--- a/
gcc/analyzer/region-model.cc
+++ b/
gcc/analyzer/region-model.cc
@@
-1118,8
+1118,8
@@
region_model::get_rvalue_1 (path_var pv, region_model_context *ctxt)
case RESULT_DECL:
case ARRAY_REF:
{
- const region *
element_
reg = get_lvalue (pv, ctxt);
- return get_store_value (
element_
reg);
+ const region *reg = get_lvalue (pv, ctxt);
+ return get_store_value (reg);
}
case REALPART_EXPR: