mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-20 23:11:21 +08:00
On behalf of Tianwei, for the following change:
2008-07-07 Tianwei Sheng <tianweis@google.com> * df-core.c (df_remove_problem): Adjust the access to avoid out of bounds array access. From-SVN: r137634
This commit is contained in:
parent
4c44c315d4
commit
7039a41551
@ -1,3 +1,8 @@
|
||||
2008-07-07 Tianwei Sheng <tianweis@google.com>
|
||||
|
||||
* df-core.c (df_remove_problem): Adjust the access to avoid out of
|
||||
bounds array access.
|
||||
|
||||
2008-07-08 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* tree-sra.c (sra_build_assignment): Handle CONVERT_EXPR_P
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user