aboutsummaryrefslogtreecommitdiff
path: root/sim/rl78
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2023-12-21 01:35:57 -0500
committerMike Frysinger <vapier@gentoo.org>2023-12-21 01:59:23 -0500
commite8aaac5fe648cff36f197bafd66c7f38475aae43 (patch)
tree3ab22381b27f03f6eb289c0a52dc49c4c2310008 /sim/rl78
parent05b9feffffb7af6986469f1be427d0c7d7fa2683 (diff)
downloadfsf-binutils-gdb-e8aaac5fe648cff36f197bafd66c7f38475aae43.zip
fsf-binutils-gdb-e8aaac5fe648cff36f197bafd66c7f38475aae43.tar.gz
fsf-binutils-gdb-e8aaac5fe648cff36f197bafd66c7f38475aae43.tar.bz2
sim: rl78: fix -Wimplicit-fallthrough warnings
Seems like this code was meant to fallthru.
Diffstat (limited to 'sim/rl78')
-rw-r--r--sim/rl78/rl78.c1
1 files changed, 1 insertions, 0 deletions
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 ();