From: Mike Frysinger Date: Thu, 21 Dec 2023 06:35:57 +0000 (-0500) Subject: sim: rl78: fix -Wimplicit-fallthrough warnings X-Git-Tag: upstream/2.42~446 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e8aaac5fe648cff36f197bafd66c7f38475aae43;p=platform%2Fupstream%2Fbinutils.git sim: rl78: fix -Wimplicit-fallthrough warnings Seems like this code was meant to fallthru. --- diff --git a/sim/rl78/rl78.c b/sim/rl78/rl78.c index 8f11c09..447f56f 100644 --- a/sim/rl78/rl78.c +++ b/sim/rl78/rl78.c @@ -499,6 +499,7 @@ decode_opcode (void) CLOCKS (3); /* note: adds two clocks, total 5 clocks */ else CLOCKS (2); /* note: adds one clock, total 4 clocks */ + ATTRIBUTE_FALLTHROUGH; case RLO_branch: tprintf ("BRANCH: "); v = GPC ();