* config/arm/arm.c (arm_override_options): Enable
-fno-sched-interblock for Cortex-M4 and Cortex-M4F.
===================================================================
@@ -1886,6 +1886,11 @@ arm_override_options (void)
fix_cm3_ldrd = 0;
}
+ /* Enable -fno-sched-interblock for Cortex-M4 and Cortex-M4F. */
+ if (arm_selected_tune->core == cortexm4
+ || arm_selected_tune->core == cortexm4f)
+ flag_schedule_interblock = 0;
+
if (TARGET_THUMB1 && flag_schedule_insns)
{
/* Don't warn since it's on by default in -O2. */