From: Cornelia Huck Date: Mon, 8 Jul 2019 12:38:21 +0000 (+0200) Subject: s390x/tcg: move fallthrough annotation X-Git-Tag: v4.1.0-rc0~3^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=92b9afe45e10edd8eaed6329366201c2165a8065;p=thirdparty%2Fqemu.git s390x/tcg: move fallthrough annotation ...so that the compiler properly recognizes it. Reported-by: Stefan Weil Fixes: f180da83c039 ("s390x/tcg: Implement VECTOR LOAD LOGICAL ELEMENT AND ZERO") Message-Id: <20190708125433.16927-3-cohuck@redhat.com> Reviewed-by: Stefan Weil Signed-off-by: Cornelia Huck --- diff --git a/target/s390x/translate_vx.inc.c b/target/s390x/translate_vx.inc.c index 7b1d31cba5c..41d5cf869f9 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; }