aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
Diffstat (limited to 'sim')
-rw-r--r--sim/sh/gencode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/sh/gencode.c b/sim/sh/gencode.c
index 1835cf9..9683dc4 100644
--- a/sim/sh/gencode.c
+++ b/sim/sh/gencode.c
@@ -3296,6 +3296,7 @@ ppi_gensim (void)
case 'c':
printf (" if ((((iword >> 8) ^ DSR) & 1) == 0)\n");
printf ("\treturn;\n");
+ printf (" ATTRIBUTE_FALLTHROUGH;\n");
printf (" }\n");
printf (" case %d:\n", p->index + 1);
printf (" {\n");