sim frv: Add a missing return value for frvbf_check_acc_range.
[binutils-gdb.git] / sim / frv / traps.c
index c0ed9b1c49ff160a6ed6c540500d3c16082dd7a3..5e6a4d06ef479f836d6ea517909b6afdbf487b18 100644 (file)
@@ -742,7 +742,7 @@ frvbf_check_acc_range (SIM_CPU *current_cpu, SI regno)
   /* Only applicable to fr550 */
   SIM_DESC sd = CPU_STATE (current_cpu);
   if (STATE_ARCHITECTURE (sd)->mach != bfd_mach_fr550)
-    return;
+    return 0;
 
   /* On the fr550, media insns in slots 0 and 2 can only access
      accumulators acc0-acc3. Insns in slots 1 and 3 can only access