From 34701e916d3ac1bde6426c9a916d2bae4c7943a0 Mon Sep 17 00:00:00 2001 From: vmakarov Date: Mon, 14 Apr 2003 15:50:08 +0000 Subject: 2003-04-14 Vladimir Makarov * 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 --- gcc/genautomata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/genautomata.c') 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) -- cgit v1.2.1