summaryrefslogtreecommitdiff
path: root/gcc/genautomata.c
diff options
context:
space:
mode:
authorvmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-14 15:50:08 +0000
committervmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-14 15:50:08 +0000
commit34701e916d3ac1bde6426c9a916d2bae4c7943a0 (patch)
treee1d1fb03233e7851f0eb08792ed4e34fbdeec286 /gcc/genautomata.c
parent74c071cf195f23f4fca1289352efc7cb05388e5f (diff)
downloadgcc-34701e916d3ac1bde6426c9a916d2bae4c7943a0.tar.gz
2003-04-14 Vladimir Makarov <vmakarov@redhat.com>
* genautomata.c (output_translate_vect): Fix a typo in loop condition. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65580 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genautomata.c')
-rw-r--r--gcc/genautomata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/genautomata.c b/gcc/genautomata.c
index ad511d9d166..438bdefaa27 100644
--- a/gcc/genautomata.c
+++ b/gcc/genautomata.c
@@ -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)