]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/m32r/decode.c
Update copyright year range in all GDB files
[thirdparty/binutils-gdb.git] / sim / m32r / decode.c
index 3713e5d2abd5bf95a3a6e55611bde0d702166046..2aa5c564bec67a1723c48d19b7dce7531b5083ce 100644 (file)
@@ -2,7 +2,7 @@
 
 THIS FILE IS MACHINE GENERATED WITH CGEN.
 
-Copyright 1996-2015 Free Software Foundation, Inc.
+Copyright 1996-2021 Free Software Foundation, Inc.
 
 This file is part of the GNU simulators.
 
@@ -202,7 +202,7 @@ m32rbf_init_idesc_table (SIM_CPU *cpu)
     init_idesc (cpu, id, t);
 
   /* Now fill in the values for the chosen cpu.  */
-  for (t = m32rbf_insn_sem, tend = t + sizeof (m32rbf_insn_sem) / sizeof (*t);
+  for (t = m32rbf_insn_sem, tend = t + ARRAY_SIZE (m32rbf_insn_sem);
        t != tend; ++t)
     {
       init_idesc (cpu, & table[t->index], t);