frv.c (frv_sort_insn_group): Always initialize packet_group->nop.

* config/frv/frv.c (frv_sort_insn_group): Always initialize
	packet_group->nop.

From-SVN: r91867
This commit is contained in:
Richard Sandiford 2004-12-08 10:25:39 +00:00 committed by Richard Sandiford
parent 4104f0f400
commit 75d0ac8d5a
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-12-08 Richard Sandiford <rsandifo@redhat.com>
* config/frv/frv.c (frv_sort_insn_group): Always initialize
packet_group->nop.
2004-12-08 Nathan Sidwell <nathan@codesourcery.com> 2004-12-08 Nathan Sidwell <nathan@codesourcery.com>
PR c++/18672 PR c++/18672

View File

@ -8921,6 +8921,10 @@ frv_sort_insn_group (enum frv_insn_group group)
size_t dfa_size; size_t dfa_size;
packet_group = &frv_packet.groups[group]; packet_group = &frv_packet.groups[group];
/* Assume no nop is needed. */
packet_group->nop = 0;
if (packet_group->num_insns == 0) if (packet_group->num_insns == 0)
return; return;