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:
Tianwei Sheng 2008-07-08 17:08:40 +00:00 committed by Seongbae Park
parent 4c44c315d4
commit 7039a41551
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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;
}