Commit 02aec184 by Sandra Loosemore Committed by Sandra Loosemore

genrecog.c (make_insn_sequence): Correct position numbering when filtering out…

genrecog.c (make_insn_sequence): Correct position numbering when filtering out match_scratch and match_dup.

2011-07-20  Sandra Loosemore  <sandra@codesourcery.com>

	gcc/
	* genrecog.c (make_insn_sequence): Correct position numbering
	when filtering out match_scratch and match_dup.

From-SVN: r176518
parent f8ecf734
2011-07-20 Sandra Loosemore <sandra@codesourcery.com>
* genrecog.c (make_insn_sequence): Correct position numbering
when filtering out match_scratch and match_dup.
2011-07-20 Richard Guenther <rguenther@suse.de>
* tree-ssa-forwprop.c (remove_prop_source_from_use): Robustify
......
......@@ -2345,7 +2345,7 @@ make_insn_sequence (rtx insn, enum routine_type type)
if (GET_CODE (tmp) != MATCH_SCRATCH && GET_CODE (tmp) != MATCH_DUP)
{
c_test_pos = next_position (pos_ptr, &root_pos,
POS_PEEP2_INSN, i);
POS_PEEP2_INSN, j);
XVECEXP (x, 0, j) = tmp;
j++;
pos_ptr = &c_test_pos->next;
......
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