aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@redhat.com>2004-12-08 10:25:39 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2004-12-08 10:25:39 +0000
commit75d0ac8d5a41d29abc94d460d2c86abb35f6b71a (patch)
tree6a2fb86646c63025c9a54d4a40d67579f4fb9270 /gcc
parent4104f0f400f167b37370cbc20f4f7da218a95ded (diff)
downloadgcc-75d0ac8d5a41d29abc94d460d2c86abb35f6b71a.zip
gcc-75d0ac8d5a41d29abc94d460d2c86abb35f6b71a.tar.gz
gcc-75d0ac8d5a41d29abc94d460d2c86abb35f6b71a.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/frv/frv.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c6b3059..bcdc638 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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>
PR c++/18672
diff --git a/gcc/config/frv/frv.c b/gcc/config/frv/frv.c
index de97689..5d49e17 100644
--- a/gcc/config/frv/frv.c
+++ b/gcc/config/frv/frv.c
@@ -8921,6 +8921,10 @@ frv_sort_insn_group (enum frv_insn_group group)
size_t dfa_size;
packet_group = &frv_packet.groups[group];
+
+ /* Assume no nop is needed. */
+ packet_group->nop = 0;
+
if (packet_group->num_insns == 0)
return;