diff options
Diffstat (limited to 'gcc/var-tracking.c')
-rw-r--r-- | gcc/var-tracking.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/var-tracking.c b/gcc/var-tracking.c index a79872f1949..818fb2456b5 100644 --- a/gcc/var-tracking.c +++ b/gcc/var-tracking.c @@ -7821,7 +7821,7 @@ loc_exp_dep_clear (variable var) { while (!VEC_empty (loc_exp_dep, VAR_LOC_DEP_VEC (var))) { - loc_exp_dep *led = VEC_last (loc_exp_dep, VAR_LOC_DEP_VEC (var)); + loc_exp_dep *led = &VEC_last (loc_exp_dep, VAR_LOC_DEP_VEC (var)); if (led->next) led->next->pprev = led->pprev; if (led->pprev) @@ -7865,7 +7865,7 @@ loc_exp_insert_dep (variable var, rtx x, htab_t vars) else { VEC_quick_push (loc_exp_dep, VAR_LOC_DEP_VEC (var), NULL); - led = VEC_last (loc_exp_dep, VAR_LOC_DEP_VEC (var)); + led = &VEC_last (loc_exp_dep, VAR_LOC_DEP_VEC (var)); } led->dv = var->dv; led->value = x; |