Commit dc344e87 by Jie Zhang Committed by Jie Zhang

ira-lives.c (check_and_make_def_use_conflict): Don't fall out array boundary.

	* ira-lives.c (check_and_make_def_use_conflict): Don't fall
	out array boundary.

From-SVN: r157299
parent 49d78e29
2010-03-09 Jie Zhang <jie@codesourcery.com>
* ira-lives.c (check_and_make_def_use_conflict): Don't fall
out array boundary.
2010-03-08 Jakub Jelinek <jakub@redhat.com> 2010-03-08 Jakub Jelinek <jakub@redhat.com>
* Makefile.in (check_gcc_parallelize): Run dg-torture.exp and * Makefile.in (check_gcc_parallelize): Run dg-torture.exp and
......
...@@ -456,7 +456,7 @@ check_and_make_def_use_conflict (rtx dreg, enum reg_class def_cl, ...@@ -456,7 +456,7 @@ check_and_make_def_use_conflict (rtx dreg, enum reg_class def_cl,
different. (Indeed, if the constraints for the two different. (Indeed, if the constraints for the two
operands are the same for all alternatives, there's no operands are the same for all alternatives, there's no
point marking them as commutative.) */ point marking them as commutative.) */
if (use < recog_data.n_operands + 1 if (use < recog_data.n_operands - 1
&& recog_data.constraints[use][0] == '%') && recog_data.constraints[use][0] == '%')
advance_p advance_p
= make_pseudo_conflict (recog_data.operand[use + 1], = make_pseudo_conflict (recog_data.operand[use + 1],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment