projects
/
platform
/
upstream
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05b9fef
)
sim: rl78: fix -Wimplicit-fallthrough warnings
author
Mike Frysinger
<vapier@gentoo.org>
Thu, 21 Dec 2023 06:35:57 +0000
(
01:35
-0500)
committer
Mike Frysinger
<vapier@gentoo.org>
Thu, 21 Dec 2023 06:59:23 +0000
(
01:59
-0500)
Seems like this code was meant to fallthru.
sim/rl78/rl78.c
patch
|
blob
|
history
diff --git
a/sim/rl78/rl78.c
b/sim/rl78/rl78.c
index
8f11c09
..
447f56f
100644
(file)
--- 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 ();