diff options
author | vmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-14 15:50:08 +0000 |
---|---|---|
committer | vmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-14 15:50:08 +0000 |
commit | 34701e916d3ac1bde6426c9a916d2bae4c7943a0 (patch) | |
tree | e1d1fb03233e7851f0eb08792ed4e34fbdeec286 /gcc | |
parent | 74c071cf195f23f4fca1289352efc7cb05388e5f (diff) | |
download | gcc-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')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/genautomata.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 276961319f0..05b01f98a32 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 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) |