summaryrefslogtreecommitdiff
path: root/gcc/df-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/df-core.c')
-rw-r--r--gcc/df-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/df-core.c b/gcc/df-core.c
index 8e6a4e14825..1ea30122254 100644
--- a/gcc/df-core.c
+++ b/gcc/df-core.c
@@ -622,7 +622,7 @@ df_remove_problem (struct dataflow *dflow)
int j;
for (j = i + 1; j < df->num_problems_defined; j++)
df->problems_in_order[j-1] = df->problems_in_order[j];
- df->problems_in_order[j] = NULL;
+ df->problems_in_order[j-1] = NULL;
df->num_problems_defined--;
break;
}