genautomata.c (output_translate_vect): Fix a typo in loop condition.

2003-04-14  Vladimir Makarov  <vmakarov@redhat.com>

	* genautomata.c (output_translate_vect): Fix a typo in loop
	condition.

From-SVN: r65580
This commit is contained in:
Vladimir Makarov 2003-04-14 15:50:08 +00:00 committed by Vladimir Makarov
parent 747a0d9d6a
commit 2fcb395cd4
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-04-14 Vladimir Makarov <vmakarov@redhat.com>
* genautomata.c (output_translate_vect): Fix a typo in loop
condition.
2003-04-14 Hans-Peter Nilsson <hp@axis.com>
PR target/10377

View File

@ -7670,7 +7670,7 @@ output_translate_vect (automaton)
VLA_HWINT_CREATE (translate_vect, 250, "translate vector");
VLA_HWINT_EXPAND (translate_vect, description->insns_num);
for (insn_value = 0; insn_value <= description->insns_num; insn_value++)
for (insn_value = 0; insn_value < description->insns_num; insn_value++)
/* Undefined value */
VLA_HWINT (translate_vect, insn_value) = automaton->insn_equiv_classes_num;
for (ainsn = automaton->ainsn_list; ainsn != NULL; ainsn = ainsn->next_ainsn)