aboutsummaryrefslogtreecommitdiff
path: root/target/s390x
diff options
context:
space:
mode:
authorCornelia Huck <cohuck@redhat.com>2019-07-08 14:38:21 +0200
committerCornelia Huck <cohuck@redhat.com>2019-07-09 10:37:44 +0200
commit92b9afe45e10edd8eaed6329366201c2165a8065 (patch)
treeec8d3d8674f2a1dfd5706d7501f43cc892b7ada2 /target/s390x
parentd05be57ddc2e1722f527aa4c20d84dfd15c840ec (diff)
s390x/tcg: move fallthrough annotation
...so that the compiler properly recognizes it. Reported-by: Stefan Weil <sw@weilnetz.de> Fixes: f180da83c039 ("s390x/tcg: Implement VECTOR LOAD LOGICAL ELEMENT AND ZERO") Message-Id: <20190708125433.16927-3-cohuck@redhat.com> Reviewed-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'target/s390x')
-rw-r--r--target/s390x/translate_vx.inc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/s390x/translate_vx.inc.c b/target/s390x/translate_vx.inc.c
index 7b1d31cba5..41d5cf869f 100644
--- a/target/s390x/translate_vx.inc.c
+++ b/target/s390x/translate_vx.inc.c
@@ -577,8 +577,8 @@ static DisasJumpType op_vllez(DisasContext *s, DisasOps *o)
enr = 0;
break;
}
- default:
/* fallthrough */
+ default:
gen_program_exception(s, PGM_SPECIFICATION);
return DISAS_NORETURN;
}