forked from Imagelibrary/binutils-gdb
sim: avr: fix -Wimplicit-fallthrough warnings
Replace some fall through comments with the attribute.
This commit is contained in:
@@ -896,7 +896,7 @@ step_once (SIM_CPU *cpu)
|
|||||||
|
|
||||||
case OP_reti:
|
case OP_reti:
|
||||||
sram[SREG] |= SREG_I;
|
sram[SREG] |= SREG_I;
|
||||||
/* Fall through */
|
ATTRIBUTE_FALLTHROUGH;
|
||||||
case OP_ret:
|
case OP_ret:
|
||||||
{
|
{
|
||||||
const struct avr_sim_state *state = AVR_SIM_STATE (CPU_STATE (cpu));
|
const struct avr_sim_state *state = AVR_SIM_STATE (CPU_STATE (cpu));
|
||||||
|
|||||||
Reference in New Issue
Block a user