mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-28 22:34:03 +08:00
Fix parameter map computation in ipa-modref
* ipa-modref.c (modref_transform): Fix parameter map computation.
This commit is contained in:
parent
e88b04bda8
commit
2f61125f6f
@ -1379,7 +1379,7 @@ modref_transform (struct cgraph_node *node)
|
||||
{
|
||||
int idx = node->clone.param_adjustments->get_original_index (i);
|
||||
if (idx >= 0)
|
||||
map[i] = idx;
|
||||
map[idx] = i;
|
||||
}
|
||||
remap_arguments (&map, r->loads);
|
||||
remap_arguments (&map, r->stores);
|
||||
|
Loading…
Reference in New Issue
Block a user