qemu-e2k/target/sparc
Chen Qun fc0cd86781 target/sparc/translate: silence the compiler warnings
When using -Wimplicit-fallthrough in our CFLAGS, the compiler showed warning:
target/sparc/translate.c: In function ‘gen_st_asi’:
target/sparc/translate.c:2320:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
 2320 |         if (!(dc->def->features & CPU_FEATURE_HYPV)) {
      |            ^
target/sparc/translate.c:2329:5: note: here
 2329 |     case GET_ASI_DIRECT:
      |     ^~~~

The "fall through" statement place is not correctly identified by the compiler.

Reported-by: Euler Robot <euler.robot@huawei.com>
Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Artyom Tarasenko <atar4qemu@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20201211152426.350966-9-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2020-12-18 09:14:23 +01:00
..
asi.h Clean up ill-advised or unusual header guards 2019-05-13 08:58:55 +02:00
cc_helper.c sparc tcg cpus: Fix Lesser GPL version number 2020-11-15 16:46:00 +01:00
cpu-param.h tcg: Split out target/arch/cpu-param.h 2019-06-10 07:03:34 -07:00
cpu-qom.h qom: Remove module_obj_name parameter from OBJECT_DECLARE* macros 2020-09-18 14:12:32 -04:00
cpu.c sparc: Check dev->realized at sparc_set_nwindows() 2020-12-15 10:02:07 -05:00
cpu.h gdbstub: extend GByteArray to read register helpers 2020-03-17 17:38:38 +00:00
fop_helper.c sparc tcg cpus: Fix Lesser GPL version number 2020-11-15 16:46:00 +01:00
gdbstub.c sparc tcg cpus: Fix Lesser GPL version number 2020-11-15 16:46:00 +01:00
helper.c sparc tcg cpus: Fix Lesser GPL version number 2020-11-15 16:46:00 +01:00
helper.h target-sparc: implement UA2005 GL register 2017-01-18 22:03:44 +01:00
int32_helper.c sparc tcg cpus: Fix Lesser GPL version number 2020-11-15 16:46:00 +01:00
int64_helper.c sparc tcg cpus: Fix Lesser GPL version number 2020-11-15 16:46:00 +01:00
ldst_helper.c sparc tcg cpus: Fix Lesser GPL version number 2020-11-15 16:46:00 +01:00
machine.c Include hw/boards.h a bit less 2019-08-16 13:31:53 +02:00
meson.build meson: target 2020-08-21 06:30:35 -04:00
mmu_helper.c sparc tcg cpus: Fix Lesser GPL version number 2020-11-15 16:46:00 +01:00
monitor.c hmp: Pass monitor to mon_get_cpu_env() 2020-11-13 12:45:51 +00:00
trace-events trace-events: Shorten file names in comments 2019-03-22 16:18:07 +00:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
translate.c target/sparc/translate: silence the compiler warnings 2020-12-18 09:14:23 +01:00
vis_helper.c sparc tcg cpus: Fix Lesser GPL version number 2020-11-15 16:46:00 +01:00
win_helper.c sparc tcg cpus: Fix Lesser GPL version number 2020-11-15 16:46:00 +01:00