PR target/85978
* config/frv/frv.c (frv_register_move_cost): Add break statements
to avoid falling through to the wrong cases. Tidy code.
From-SVN: r276306
+2019-09-30 Nick Clifton <nickc@redhat.com>
+
+ PR target/85978
+ * config/frv/frv.c (frv_register_move_cost): Add break statements
+ to avoid falling through to the wrong cases. Tidy code.
+
2019-09-30 Richard Sandiford <richard.sandiford@arm.com>
* config/aarch64/aarch64.c (aarch64_hard_regno_call_part_clobbered):
case FDPIC_REGS:
case FDPIC_FPTR_REGS:
case FDPIC_CALL_REGS:
-
switch (to)
{
default:
case FDPIC_REGS:
case FDPIC_FPTR_REGS:
case FDPIC_CALL_REGS:
-
return LOW_COST;
case FPR_REGS:
case SPR_REGS:
return LOW_COST;
}
+ break;
case QUAD_FPR_REGS:
switch (to)
case QUAD_FPR_REGS:
return LOW_COST;
}
+ break;
case LCR_REG:
case LR_REG:
case FDPIC_REGS:
case FDPIC_FPTR_REGS:
case FDPIC_CALL_REGS:
-
return MEDIUM_COST;
}
+ break;
case QUAD_ACC_REGS:
case ACCG_REGS:
case QUAD_FPR_REGS:
return MEDIUM_COST;
-
}
+ break;
}
return HIGH_COST;