unicorn/qemu/target/m68k
Richard Henderson 991683af73
target/m68k: Fix build Werror with gcc 8.0.1
The Werror stems from the compiler finding a path through the second
switch via a missing default case in which src1 is uninitialized, and
not being able to prove that the missing default case is unreachable
due to the first switch.

Simplify the second switch to merge default with OS_LONG,
which returns directly. This removes the unreachable path.

Backports commit 5cbc61110738accb16ff8ed1f08a32906d02790f from qemu.
2018-05-11 10:37:45 -04:00
..
cpu-qom.h
cpu.c cpu: Add Error argument to cpu_exec_init() 2018-03-21 07:50:33 -04:00
cpu.h cpu: get rid of unused cpu_init() defines 2018-03-20 14:21:45 -04:00
fpu_helper.c target/m68k: implement fcosh 2018-03-17 18:58:57 -04:00
helper.c cpu: Generify CPU init functions 2018-03-20 08:21:51 -04:00
helper.h target/m68k: implement fcosh 2018-03-17 18:58:57 -04:00
Makefile.objs target/m68k: add fmod/frem 2018-03-09 01:28:58 -05:00
op_helper.c m68k: fix exception stack frame for 68000 2018-04-16 13:49:56 -04:00
qregs.def target-m68k: use floatx80 internally 2018-03-03 19:35:17 -05:00
softfloat_fpsp_tables.h target/m68k: implement fatan 2018-03-17 18:48:32 -04:00
softfloat.c m68k: remove dead code (Coverity CID1390617) 2018-05-01 11:44:18 -04:00
softfloat.h target/m68k: implement fcosh 2018-03-17 18:58:57 -04:00
translate.c target/m68k: Fix build Werror with gcc 8.0.1 2018-05-11 10:37:45 -04:00
unicorn.c Use DEFINE_MACHINE() to register all machines 2018-03-11 15:12:46 -04:00
unicorn.h