# git rev-parse -q --verify 10d20bd25e06b220b1d816228b036e367215dc60^{commit} 10d20bd25e06b220b1d816228b036e367215dc60 already have revision, skipping fetch # git checkout -q -f -B kisskb 10d20bd25e06b220b1d816228b036e367215dc60 # git clean -qxdf # git log -1 commit 10d20bd25e06b220b1d816228b036e367215dc60 Author: Linus Torvalds Date: Mon Dec 5 12:10:29 2016 -0800 shmem: fix shm fallocate() list corruption The shmem hole punching with fallocate(FALLOC_FL_PUNCH_HOLE) does not want to race with generating new pages by faulting them in. However, the wait-queue used to delay the page faulting has a serious problem: the wait queue head (in shmem_fallocate()) is allocated on the stack, and the code expects that "wake_up_all()" will make sure that all the queue entries are gone before the stack frame is de-allocated. And that is not at all necessarily the case. Yes, a normal wake-up sequence will remove the wait-queue entry that caused the wakeup (see "autoremove_wake_function()"), but the key wording there is "that caused the wakeup". When there are multiple possible wakeup sources, the wait queue entry may well stay around. And _particularly_ in a page fault path, we may be faulting in new pages from user space while we also have other things going on, and there may well be other pending wakeups. So despite the "wake_up_all()", it's not at all guaranteed that all list entries are removed from the wait queue head on the stack. Fix this by introducing a new wakeup function that removes the list entry unconditionally, even if the target process had already woken up for other reasons. Use that "synchronous" function to set up the waiters in shmem_fault(). This problem has never been seen in the wild afaik, but Dave Jones has reported it on and off while running trinity. We thought we fixed the stack corruption with the blk-mq rq_list locking fix (commit 7fe311302f7d: "blk-mq: update hardware and software queues for sleeping alloc"), but it turns out there was _another_ stack corruptor hiding in the trinity runs. Vegard Nossum (also running trinity) was able to trigger this one fairly consistently, and made us look once again at the shmem code due to the faults often being in that area. Reported-and-tested-by: Vegard Nossum . Reported-by: Dave Jones Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/br-sh4-full-2016.08-613-ge98b4dd/bin/sh4-linux-gcc --version # < git log --format=%s --max-count=1 10d20bd25e06b220b1d816228b036e367215dc60 # < make -j 48 ARCH=sh O=/home/kisskb/slave/build/linus_sh-allyesconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/br-sh4-full-2016.08-613-ge98b4dd/bin/sh4-linux- allyesconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # yes \n | make -j 48 ARCH=sh O=/home/kisskb/slave/build/linus_sh-allyesconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/br-sh4-full-2016.08-613-ge98b4dd/bin/sh4-linux- oldconfig yes: standard output: Broken pipe yes: write error # make -j 48 ARCH=sh O=/home/kisskb/slave/build/linus_sh-allyesconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/br-sh4-full-2016.08-613-ge98b4dd/bin/sh4-linux- make[1]: Entering directory '/home/kisskb/slave/build/linus_sh-allyesconfig_sh4' GEN ./Makefile scripts/kconfig/conf --silentoldconfig Kconfig CHK include/config/kernel.release UPD include/config/kernel.release GEN ./Makefile WRAP arch/sh/include/generated/asm/bitsperlong.h WRAP arch/sh/include/generated/asm/clkdev.h WRAP arch/sh/include/generated/asm/cputime.h WRAP arch/sh/include/generated/asm/current.h WRAP arch/sh/include/generated/asm/delay.h WRAP arch/sh/include/generated/asm/div64.h WRAP arch/sh/include/generated/asm/emergency-restart.h WRAP arch/sh/include/generated/asm/errno.h WRAP arch/sh/include/generated/asm/exec.h WRAP arch/sh/include/generated/asm/fcntl.h WRAP arch/sh/include/generated/asm/ioctl.h WRAP arch/sh/include/generated/asm/ipcbuf.h WRAP arch/sh/include/generated/asm/irq_regs.h WRAP arch/sh/include/generated/asm/irq_work.h WRAP arch/sh/include/generated/asm/kvm_para.h WRAP arch/sh/include/generated/asm/local.h WRAP arch/sh/include/generated/asm/local64.h WRAP arch/sh/include/generated/asm/mcs_spinlock.h WRAP arch/sh/include/generated/asm/mm-arch-hooks.h WRAP arch/sh/include/generated/asm/mman.h WRAP arch/sh/include/generated/asm/msgbuf.h WRAP arch/sh/include/generated/asm/param.h WRAP arch/sh/include/generated/asm/parport.h WRAP arch/sh/include/generated/asm/percpu.h WRAP arch/sh/include/generated/asm/poll.h WRAP arch/sh/include/generated/asm/preempt.h WRAP arch/sh/include/generated/asm/resource.h WRAP arch/sh/include/generated/asm/rwsem.h WRAP arch/sh/include/generated/asm/sembuf.h WRAP arch/sh/include/generated/asm/serial.h WRAP arch/sh/include/generated/asm/shmbuf.h WRAP arch/sh/include/generated/asm/siginfo.h WRAP arch/sh/include/generated/asm/sizes.h WRAP arch/sh/include/generated/asm/socket.h WRAP arch/sh/include/generated/asm/statfs.h WRAP arch/sh/include/generated/asm/termbits.h WRAP arch/sh/include/generated/asm/termios.h WRAP arch/sh/include/generated/asm/trace_clock.h WRAP arch/sh/include/generated/asm/ucontext.h WRAP arch/sh/include/generated/asm/xor.h CHK include/generated/uapi/linux/version.h UPD include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h HOSTCC scripts/basic/bin2c Using /home/kisskb/slave/src as source for kernel HOSTCC scripts/kallsyms HOSTCC scripts/pnmtologo HOSTCC scripts/conmakehash HOSTCC scripts/asn1_compiler HOSTCC scripts/extract-cert HOSTCC scripts/insert-sys-cert HOSTCC scripts/dtc/dtc.o HOSTCC scripts/dtc/flattree.o HOSTCC scripts/genksyms/genksyms.o SHIPPED scripts/genksyms/parse.tab.c HOSTCC scripts/dtc/fstree.o SHIPPED scripts/genksyms/lex.lex.c HOSTCC scripts/dtc/data.o SHIPPED scripts/genksyms/keywords.hash.c HOSTCC scripts/dtc/livetree.o HOSTCC scripts/dtc/treesource.o HOSTCC scripts/dtc/srcpos.o SHIPPED scripts/genksyms/parse.tab.h HOSTCC scripts/dtc/checks.o HOSTCC scripts/dtc/util.o HOSTCC scripts/mod/mk_elfconfig HOSTCC scripts/genksyms/parse.tab.o SHIPPED scripts/dtc/dtc-lexer.lex.c CC scripts/mod/empty.o SHIPPED scripts/dtc/dtc-parser.tab.c CC scripts/mod/devicetable-offsets.s SHIPPED scripts/dtc/dtc-parser.tab.h HOSTCC scripts/dtc/dtc-parser.tab.o HOSTCC scripts/genksyms/lex.lex.o HOSTCC scripts/dtc/dtc-lexer.lex.o HOSTCC scripts/selinux/genheaders/genheaders HOSTCC scripts/selinux/mdp/mdp MKELF scripts/mod/elfconfig.h GEN scripts/mod/devicetable-offsets.h HOSTCC scripts/mod/modpost.o HOSTCC scripts/mod/sumversion.o HOSTCC scripts/mod/file2alias.o Generating include/generated/machtypes.h CHK include/generated/timeconst.h CC kernel/bounds.s UPD include/generated/timeconst.h CHK include/generated/bounds.h UPD include/generated/bounds.h CC arch/sh/kernel/asm-offsets.s HOSTLD scripts/dtc/dtc HOSTLD scripts/genksyms/genksyms CHK include/generated/asm-offsets.h UPD include/generated/asm-offsets.h CALL /home/kisskb/slave/src/scripts/checksyscalls.sh HOSTLD scripts/mod/modpost :1316:2: warning: #warning syscall pkey_mprotect not implemented [-Wcpp] :1319:2: warning: #warning syscall pkey_alloc not implemented [-Wcpp] :1322:2: warning: #warning syscall pkey_free not implemented [-Wcpp] CC init/main.o CHK include/generated/compile.h CC init/do_mounts.o CC init/do_mounts_rd.o CC init/do_mounts_initrd.o CC init/do_mounts_md.o CC init/initramfs.o CC init/calibrate.o UPD include/generated/compile.h CC init/init_task.o CC init/version.o HOSTCC usr/gen_init_cpio AS arch/sh/kernel/debugtraps.o CC arch/sh/kernel/dma-nommu.o CC arch/sh/kernel/dumpstack.o CC arch/sh/kernel/idle.o CC arch/sh/kernel/io.o CC arch/sh/kernel/irq.o CC arch/sh/kernel/kdebugfs.o CC arch/sh/kernel/nmi_debug.o CC arch/sh/kernel/machvec.o CC arch/sh/kernel/irq_32.o CC arch/sh/kernel/ptrace.o CC arch/sh/kernel/ptrace_32.o CC arch/sh/kernel/process_32.o CC arch/sh/kernel/process.o CC arch/sh/kernel/return_address.o CC arch/sh/kernel/reboot.o CC arch/sh/kernel/setup.o CC arch/sh/kernel/signal_32.o AS arch/sh/kernel/syscalls_32.o CC arch/sh/kernel/sys_sh.o CC arch/sh/kernel/time.o CC arch/sh/kernel/traps.o CC arch/sh/kernel/topology.o CC arch/sh/kernel/traps_32.o CC arch/sh/kernel/unwinder.o CC arch/sh/kernel/iomap.o CC arch/sh/kernel/sys_sh32.o CC arch/sh/kernel/kgdb.o CC arch/sh/kernel/kprobes.o CC arch/sh/kernel/ftrace.o CC arch/sh/kernel/sh_bios.o CC arch/sh/kernel/stacktrace.o CC arch/sh/mm/alignment.o CC arch/sh/kernel/crash_dump.o CC arch/sh/kernel/module.o CC arch/sh/kernel/sh_ksyms_32.o CC arch/sh/kernel/disassemble.o CC arch/sh/kernel/cpu/irq/imask.o CC arch/sh/kernel/perf_event.o CC arch/sh/kernel/dwarf.o CC arch/sh/boards/of-generic.o GEN usr/initramfs_data.cpio.gz CC arch/sh/kernel/perf_callchain.o AS usr/initramfs_data.o CC arch/sh/kernel/hw_breakpoint.o AS arch/sh/kernel/cpu/sh2/ex.o CC arch/sh/kernel/cpu/sh2/probe.o LD usr/built-in.o AS arch/sh/kernel/head_32.o AS arch/sh/kernel/cpu/sh2/entry.o LDS arch/sh/kernel/vmlinux.lds CC arch/sh/kernel/cpu/clock-cpg.o CC arch/sh/kernel/cpu/sh2/setup-sh7619.o LD arch/sh/kernel/cpu/irq/built-in.o CC arch/sh/kernel/cpu/clock.o CC arch/sh/kernel/cpu/fpu.o CC arch/sh/mm/cache.o CC arch/sh/mm/init.o CC arch/sh/kernel/cpu/init.o CC arch/sh/mm/consistent.o CC arch/sh/kernel/cpu/pfc.o CC arch/sh/kernel/cpu/proc.o /home/kisskb/slave/src/arch/sh/kernel/cpu/sh2/../../entry-common.S: Assembler messages: /home/kisskb/slave/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:89: Warning: overflow in branch to __restore_all; converted into longer instruction sequence /home/kisskb/slave/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:208: Warning: overflow in branch to syscall_call; converted into longer instruction sequence /home/kisskb/slave/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:356: Warning: overflow in branch to syscall_trace_entry; converted into longer instruction sequence /home/kisskb/slave/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:358: Warning: overflow in branch to syscall_trace_entry; converted into longer instruction sequence /home/kisskb/slave/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:389: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /home/kisskb/slave/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:392: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence CC arch/sh/mm/mmap.o CC arch/sh/mm/cache-sh2.o CC arch/sh/mm/nommu.o CC arch/sh/kernel/cpu/sh2/clock-sh7619.o CC arch/sh/mm/extable_32.o CC arch/sh/mm/asids-debugfs.o LD arch/sh/boards/built-in.o CC arch/sh/math-emu/math.o make[2]: *** No rule to make target 'arch/sh/boot/dts/.dtb.o', needed by 'arch/sh/boot/dts/built-in.o'. Stop. /home/kisskb/slave/src/Makefile:988: recipe for target 'arch/sh/boot/dts' failed make[1]: *** [arch/sh/boot/dts] Error 2 make[1]: *** Waiting for unfinished jobs.... /home/kisskb/slave/src/arch/sh/kernel/cpu/clock.c: In function 'clk_init': /home/kisskb/slave/src/arch/sh/kernel/cpu/clock.c:25:6: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] int ret; ^ /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c: In function 'cpg_clk_init': /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c:52:3: warning: 'arch_init_clk_ops' is deprecated [-Wdeprecated-declarations] arch_init_clk_ops(&clk->ops, i); ^ In file included from /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c:6:0: /home/kisskb/slave/src/arch/sh/include/asm/clock.h:7:19: note: declared here void __deprecated arch_init_clk_ops(struct sh_clk_ops **, int type); ^ /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c: In function 'arch_clk_init': /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c:76:2: warning: 'cpg_clk_init' is deprecated [-Wdeprecated-declarations] return cpg_clk_init(); ^ /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c:46:25: note: declared here int __init __deprecated cpg_clk_init(void) ^ LD arch/sh/kernel/cpu/sh2/built-in.o LD arch/sh/kernel/cpu/built-in.o LD arch/sh/kernel/built-in.o In file included from /home/kisskb/slave/src/arch/sh/math-emu/math.c:23:0: /home/kisskb/slave/src/include/math-emu/single.h:50:21: warning: "__BIG_ENDIAN" is not defined [-Wundef] #if __BYTE_ORDER == __BIG_ENDIAN ^ In file included from /home/kisskb/slave/src/arch/sh/math-emu/math.c:24:0: /home/kisskb/slave/src/include/math-emu/double.h:59:21: warning: "__BIG_ENDIAN" is not defined [-Wundef] #if __BYTE_ORDER == __BIG_ENDIAN ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:54:0: warning: "WRITE" redefined #define WRITE(d,a) ({if(put_user(d, (typeof (d)*)a)) return -EFAULT;}) ^ In file included from /home/kisskb/slave/src/include/linux/perf_event.h:44:0, from /home/kisskb/slave/src/arch/sh/math-emu/math.c:15: /home/kisskb/slave/src/include/linux/fs.h:197:0: note: this is the location of the previous definition #define WRITE REQ_OP_WRITE ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:55:0: warning: "READ" redefined #define READ(d,a) ({if(get_user(d, (typeof (d)*)a)) return -EFAULT;}) ^ In file included from /home/kisskb/slave/src/include/linux/perf_event.h:44:0, from /home/kisskb/slave/src/arch/sh/math-emu/math.c:15: /home/kisskb/slave/src/include/linux/fs.h:196:0: note: this is the location of the previous definition #define READ REQ_OP_READ ^ In file included from /home/kisskb/slave/src/include/math-emu/soft-fp.h:184:0, from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22: /home/kisskb/slave/src/arch/sh/math-emu/math.c: In function 'fcmp_gt': /home/kisskb/slave/src/include/math-emu/op-2.h:52:18: warning: left shift count is negative [-Wshift-count-negative] X##_f1 = X##_f0 << ((N) - _FP_W_TYPE_SIZE); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:42:5: note: in expansion of macro '_FP_FRAC_SLL_2' _FP_FRAC_SLL_##wc(X, _FP_WORKBITS); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:92:5: note: in expansion of macro '_FP_UNPACK_CANONICAL' _FP_UNPACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:62:53: note: in expansion of macro 'FP_UNPACK_DP' {u32 t[2]; t[0]=((u32*)&r)[1]; t[1]=((u32*)&r)[0]; FP_UNPACK_DP(f,t);} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:70:2: note: in expansion of macro 'UNPACK_D' UNPACK_##SZ(Fm, M); UNPACK_##SZ(Fn, N); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'CMP_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:76:27: note: in expansion of macro 'BOTH_PRmn' #define CMP(OP) ({ int r; BOTH_PRmn(OP##_X,r); r; }) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:81:6: note: in expansion of macro 'CMP' if (CMP(CMP) > 0) ^ /home/kisskb/slave/src/include/math-emu/op-2.h:52:18: warning: left shift count is negative [-Wshift-count-negative] X##_f1 = X##_f0 << ((N) - _FP_W_TYPE_SIZE); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:42:5: note: in expansion of macro '_FP_FRAC_SLL_2' _FP_FRAC_SLL_##wc(X, _FP_WORKBITS); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:92:5: note: in expansion of macro '_FP_UNPACK_CANONICAL' _FP_UNPACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:62:53: note: in expansion of macro 'FP_UNPACK_DP' {u32 t[2]; t[0]=((u32*)&r)[1]; t[1]=((u32*)&r)[0]; FP_UNPACK_DP(f,t);} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:70:22: note: in expansion of macro 'UNPACK_D' UNPACK_##SZ(Fm, M); UNPACK_##SZ(Fn, N); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'CMP_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:76:27: note: in expansion of macro 'BOTH_PRmn' #define CMP(OP) ({ int r; BOTH_PRmn(OP##_X,r); r; }) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:81:6: note: in expansion of macro 'CMP' if (CMP(CMP) > 0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c: In function 'fcmp_eq': /home/kisskb/slave/src/include/math-emu/op-2.h:52:18: warning: left shift count is negative [-Wshift-count-negative] X##_f1 = X##_f0 << ((N) - _FP_W_TYPE_SIZE); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:42:5: note: in expansion of macro '_FP_FRAC_SLL_2' _FP_FRAC_SLL_##wc(X, _FP_WORKBITS); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:92:5: note: in expansion of macro '_FP_UNPACK_CANONICAL' _FP_UNPACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:62:53: note: in expansion of macro 'FP_UNPACK_DP' {u32 t[2]; t[0]=((u32*)&r)[1]; t[1]=((u32*)&r)[0]; FP_UNPACK_DP(f,t);} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:70:2: note: in expansion of macro 'UNPACK_D' UNPACK_##SZ(Fm, M); UNPACK_##SZ(Fn, N); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'CMP_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:76:27: note: in expansion of macro 'BOTH_PRmn' #define CMP(OP) ({ int r; BOTH_PRmn(OP##_X,r); r; }) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:92:6: note: in expansion of macro 'CMP' if (CMP(CMP /*EQ*/) == 0) ^ /home/kisskb/slave/src/include/math-emu/op-2.h:52:18: warning: left shift count is negative [-Wshift-count-negative] X##_f1 = X##_f0 << ((N) - _FP_W_TYPE_SIZE); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:42:5: note: in expansion of macro '_FP_FRAC_SLL_2' _FP_FRAC_SLL_##wc(X, _FP_WORKBITS); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:92:5: note: in expansion of macro '_FP_UNPACK_CANONICAL' _FP_UNPACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:62:53: note: in expansion of macro 'FP_UNPACK_DP' {u32 t[2]; t[0]=((u32*)&r)[1]; t[1]=((u32*)&r)[0]; FP_UNPACK_DP(f,t);} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:70:22: note: in expansion of macro 'UNPACK_D' UNPACK_##SZ(Fm, M); UNPACK_##SZ(Fn, N); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'CMP_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:76:27: note: in expansion of macro 'BOTH_PRmn' #define CMP(OP) ({ int r; BOTH_PRmn(OP##_X,r); r; }) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:92:6: note: in expansion of macro 'CMP' if (CMP(CMP /*EQ*/) == 0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c: In function 'fadd': /home/kisskb/slave/src/include/math-emu/op-2.h:52:18: warning: left shift count is negative [-Wshift-count-negative] X##_f1 = X##_f0 << ((N) - _FP_W_TYPE_SIZE); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:42:5: note: in expansion of macro '_FP_FRAC_SLL_2' _FP_FRAC_SLL_##wc(X, _FP_WORKBITS); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:92:5: note: in expansion of macro '_FP_UNPACK_CANONICAL' _FP_UNPACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:62:53: note: in expansion of macro 'FP_UNPACK_DP' {u32 t[2]; t[0]=((u32*)&r)[1]; t[1]=((u32*)&r)[0]; FP_UNPACK_DP(f,t);} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:101:2: note: in expansion of macro 'UNPACK_D' UNPACK_##SZ(Fm, M); UNPACK_##SZ(Fn, N); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:108:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, ADD); ^ /home/kisskb/slave/src/include/math-emu/op-2.h:52:18: warning: left shift count is negative [-Wshift-count-negative] X##_f1 = X##_f0 << ((N) - _FP_W_TYPE_SIZE); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:42:5: note: in expansion of macro '_FP_FRAC_SLL_2' _FP_FRAC_SLL_##wc(X, _FP_WORKBITS); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:92:5: note: in expansion of macro '_FP_UNPACK_CANONICAL' _FP_UNPACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:62:53: note: in expansion of macro 'FP_UNPACK_DP' {u32 t[2]; t[0]=((u32*)&r)[1]; t[1]=((u32*)&r)[0]; FP_UNPACK_DP(f,t);} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:101:22: note: in expansion of macro 'UNPACK_D' UNPACK_##SZ(Fm, M); UNPACK_##SZ(Fn, N); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:108:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, ADD); ^ /home/kisskb/slave/src/include/math-emu/op-2.h:84:19: warning: right shift count is negative [-Wshift-count-negative] X##_f0 = (X##_f1 >> ((N) - _FP_W_TYPE_SIZE) | \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:267:8: note: in expansion of macro '_FP_FRAC_SRS_2' _FP_FRAC_SRS_##wc(R, 1, _FP_WFRACBITS_##fs); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:367:34: note: in expansion of macro '_FP_ADD_INTERNAL' #define _FP_ADD(fs, wc, R, X, Y) _FP_ADD_INTERNAL(fs, wc, R, X, Y, '+') ^ /home/kisskb/slave/src/include/math-emu/double.h:110:27: note: in expansion of macro '_FP_ADD' #define FP_ADD_D(R,X,Y) _FP_ADD(D,2,R,X,Y) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:102:2: note: in expansion of macro 'FP_ADD_D' FP_##OP##_##SZ(Fr, Fn, Fm); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:108:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, ADD); ^ /home/kisskb/slave/src/include/math-emu/op-2.h:85:13: warning: left shift count >= width of type [-Wshift-count-overflow] (((X##_f1 << (2*_FP_W_TYPE_SIZE - (N))) | X##_f0) != 0)); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:267:8: note: in expansion of macro '_FP_FRAC_SRS_2' _FP_FRAC_SRS_##wc(R, 1, _FP_WFRACBITS_##fs); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:367:34: note: in expansion of macro '_FP_ADD_INTERNAL' #define _FP_ADD(fs, wc, R, X, Y) _FP_ADD_INTERNAL(fs, wc, R, X, Y, '+') ^ /home/kisskb/slave/src/include/math-emu/double.h:110:27: note: in expansion of macro '_FP_ADD' #define FP_ADD_D(R,X,Y) _FP_ADD(D,2,R,X,Y) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:102:2: note: in expansion of macro 'FP_ADD_D' FP_##OP##_##SZ(Fr, Fn, Fm); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:108:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, ADD); ^ In file included from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22:0: /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:97:2: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:103:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:60:13: note: in expansion of macro 'FP_PACK_DP' {u32 t[2]; FP_PACK_DP(t,f); ((u32*)&r)[0]=t[1]; ((u32*)&r)[1]=t[0];} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:103:2: note: in expansion of macro 'PACK_D' PACK_##SZ(N, Fr); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:108:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, ADD); ^ In file included from /home/kisskb/slave/src/include/math-emu/soft-fp.h:184:0, from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22: /home/kisskb/slave/src/include/math-emu/op-2.h:66:18: warning: right shift count is negative [-Wshift-count-negative] X##_f0 = X##_f1 >> ((N) - _FP_W_TYPE_SIZE); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:103:2: note: in expansion of macro '_FP_FRAC_SRL_2' _FP_FRAC_SRL_##wc(X, _FP_WORKBITS); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:103:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:60:13: note: in expansion of macro 'FP_PACK_DP' {u32 t[2]; FP_PACK_DP(t,f); ((u32*)&r)[0]=t[1]; ((u32*)&r)[1]=t[0];} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:103:2: note: in expansion of macro 'PACK_D' PACK_##SZ(N, Fr); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:108:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, ADD); ^ In file included from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22:0: /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:150:3: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:103:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:60:13: note: in expansion of macro 'FP_PACK_DP' {u32 t[2]; FP_PACK_DP(t,f); ((u32*)&r)[0]=t[1]; ((u32*)&r)[1]=t[0];} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:103:2: note: in expansion of macro 'PACK_D' PACK_##SZ(N, Fr); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:108:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, ADD); ^ In file included from /home/kisskb/slave/src/include/math-emu/soft-fp.h:184:0, from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22: /home/kisskb/slave/src/include/math-emu/op-2.h:66:18: warning: right shift count is negative [-Wshift-count-negative] X##_f0 = X##_f1 >> ((N) - _FP_W_TYPE_SIZE); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:161:7: note: in expansion of macro '_FP_FRAC_SRL_2' _FP_FRAC_SRL_##wc(X, _FP_WORKBITS); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:103:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:60:13: note: in expansion of macro 'FP_PACK_DP' {u32 t[2]; FP_PACK_DP(t,f); ((u32*)&r)[0]=t[1]; ((u32*)&r)[1]=t[0];} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:103:2: note: in expansion of macro 'PACK_D' PACK_##SZ(N, Fr); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:108:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, ADD); ^ In file included from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22:0: /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:175:10: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:103:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:60:13: note: in expansion of macro 'FP_PACK_DP' {u32 t[2]; FP_PACK_DP(t,f); ((u32*)&r)[0]=t[1]; ((u32*)&r)[1]=t[0];} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:103:2: note: in expansion of macro 'PACK_D' PACK_##SZ(N, Fr); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:108:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, ADD); ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:97:2: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/single.h:92:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(S,1,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:57:21: note: in expansion of macro 'FP_PACK_SP' #define PACK_S(r,f) FP_PACK_SP(&r,f) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:103:2: note: in expansion of macro 'PACK_S' PACK_##SZ(N, Fr); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:49: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:108:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, ADD); ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:150:3: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/single.h:92:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(S,1,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:57:21: note: in expansion of macro 'FP_PACK_SP' #define PACK_S(r,f) FP_PACK_SP(&r,f) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:103:2: note: in expansion of macro 'PACK_S' PACK_##SZ(N, Fr); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:49: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:108:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, ADD); ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:175:10: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/single.h:92:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(S,1,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:57:21: note: in expansion of macro 'FP_PACK_SP' #define PACK_S(r,f) FP_PACK_SP(&r,f) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:103:2: note: in expansion of macro 'PACK_S' PACK_##SZ(N, Fr); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:49: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:108:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, ADD); ^ In file included from /home/kisskb/slave/src/include/math-emu/soft-fp.h:184:0, from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22: /home/kisskb/slave/src/arch/sh/math-emu/math.c: In function 'fsub': /home/kisskb/slave/src/include/math-emu/op-2.h:52:18: warning: left shift count is negative [-Wshift-count-negative] X##_f1 = X##_f0 << ((N) - _FP_W_TYPE_SIZE); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:42:5: note: in expansion of macro '_FP_FRAC_SLL_2' _FP_FRAC_SLL_##wc(X, _FP_WORKBITS); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:92:5: note: in expansion of macro '_FP_UNPACK_CANONICAL' _FP_UNPACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:62:53: note: in expansion of macro 'FP_UNPACK_DP' {u32 t[2]; t[0]=((u32*)&r)[1]; t[1]=((u32*)&r)[0]; FP_UNPACK_DP(f,t);} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:101:2: note: in expansion of macro 'UNPACK_D' UNPACK_##SZ(Fm, M); UNPACK_##SZ(Fn, N); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:115:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, SUB); ^ /home/kisskb/slave/src/include/math-emu/op-2.h:52:18: warning: left shift count is negative [-Wshift-count-negative] X##_f1 = X##_f0 << ((N) - _FP_W_TYPE_SIZE); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:42:5: note: in expansion of macro '_FP_FRAC_SLL_2' _FP_FRAC_SLL_##wc(X, _FP_WORKBITS); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:92:5: note: in expansion of macro '_FP_UNPACK_CANONICAL' _FP_UNPACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:62:53: note: in expansion of macro 'FP_UNPACK_DP' {u32 t[2]; t[0]=((u32*)&r)[1]; t[1]=((u32*)&r)[0]; FP_UNPACK_DP(f,t);} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:101:22: note: in expansion of macro 'UNPACK_D' UNPACK_##SZ(Fm, M); UNPACK_##SZ(Fn, N); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:115:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, SUB); ^ /home/kisskb/slave/src/include/math-emu/op-2.h:84:19: warning: right shift count is negative [-Wshift-count-negative] X##_f0 = (X##_f1 >> ((N) - _FP_W_TYPE_SIZE) | \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:267:8: note: in expansion of macro '_FP_FRAC_SRS_2' _FP_FRAC_SRS_##wc(R, 1, _FP_WFRACBITS_##fs); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:371:5: note: in expansion of macro '_FP_ADD_INTERNAL' _FP_ADD_INTERNAL(fs, wc, R, X, Y, '-'); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:111:27: note: in expansion of macro '_FP_SUB' #define FP_SUB_D(R,X,Y) _FP_SUB(D,2,R,X,Y) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:102:2: note: in expansion of macro 'FP_SUB_D' FP_##OP##_##SZ(Fr, Fn, Fm); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:115:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, SUB); ^ /home/kisskb/slave/src/include/math-emu/op-2.h:85:13: warning: left shift count >= width of type [-Wshift-count-overflow] (((X##_f1 << (2*_FP_W_TYPE_SIZE - (N))) | X##_f0) != 0)); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:267:8: note: in expansion of macro '_FP_FRAC_SRS_2' _FP_FRAC_SRS_##wc(R, 1, _FP_WFRACBITS_##fs); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:371:5: note: in expansion of macro '_FP_ADD_INTERNAL' _FP_ADD_INTERNAL(fs, wc, R, X, Y, '-'); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:111:27: note: in expansion of macro '_FP_SUB' #define FP_SUB_D(R,X,Y) _FP_SUB(D,2,R,X,Y) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:102:2: note: in expansion of macro 'FP_SUB_D' FP_##OP##_##SZ(Fr, Fn, Fm); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:115:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, SUB); ^ In file included from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22:0: /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:97:2: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:103:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:60:13: note: in expansion of macro 'FP_PACK_DP' {u32 t[2]; FP_PACK_DP(t,f); ((u32*)&r)[0]=t[1]; ((u32*)&r)[1]=t[0];} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:103:2: note: in expansion of macro 'PACK_D' PACK_##SZ(N, Fr); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:115:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, SUB); ^ In file included from /home/kisskb/slave/src/include/math-emu/soft-fp.h:184:0, from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22: /home/kisskb/slave/src/include/math-emu/op-2.h:66:18: warning: right shift count is negative [-Wshift-count-negative] X##_f0 = X##_f1 >> ((N) - _FP_W_TYPE_SIZE); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:103:2: note: in expansion of macro '_FP_FRAC_SRL_2' _FP_FRAC_SRL_##wc(X, _FP_WORKBITS); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:103:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:60:13: note: in expansion of macro 'FP_PACK_DP' {u32 t[2]; FP_PACK_DP(t,f); ((u32*)&r)[0]=t[1]; ((u32*)&r)[1]=t[0];} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:103:2: note: in expansion of macro 'PACK_D' PACK_##SZ(N, Fr); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:115:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, SUB); ^ In file included from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22:0: /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:150:3: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:103:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:60:13: note: in expansion of macro 'FP_PACK_DP' {u32 t[2]; FP_PACK_DP(t,f); ((u32*)&r)[0]=t[1]; ((u32*)&r)[1]=t[0];} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:103:2: note: in expansion of macro 'PACK_D' PACK_##SZ(N, Fr); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:115:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, SUB); ^ In file included from /home/kisskb/slave/src/include/math-emu/soft-fp.h:184:0, from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22: /home/kisskb/slave/src/include/math-emu/op-2.h:66:18: warning: right shift count is negative [-Wshift-count-negative] X##_f0 = X##_f1 >> ((N) - _FP_W_TYPE_SIZE); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:161:7: note: in expansion of macro '_FP_FRAC_SRL_2' _FP_FRAC_SRL_##wc(X, _FP_WORKBITS); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:103:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:60:13: note: in expansion of macro 'FP_PACK_DP' {u32 t[2]; FP_PACK_DP(t,f); ((u32*)&r)[0]=t[1]; ((u32*)&r)[1]=t[0];} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:103:2: note: in expansion of macro 'PACK_D' PACK_##SZ(N, Fr); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:115:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, SUB); ^ In file included from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22:0: /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:175:10: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:103:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:60:13: note: in expansion of macro 'FP_PACK_DP' {u32 t[2]; FP_PACK_DP(t,f); ((u32*)&r)[0]=t[1]; ((u32*)&r)[1]=t[0];} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:103:2: note: in expansion of macro 'PACK_D' PACK_##SZ(N, Fr); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:115:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, SUB); ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:97:2: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/single.h:92:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(S,1,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:57:21: note: in expansion of macro 'FP_PACK_SP' #define PACK_S(r,f) FP_PACK_SP(&r,f) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:103:2: note: in expansion of macro 'PACK_S' PACK_##SZ(N, Fr); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:49: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:115:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, SUB); ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:150:3: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/single.h:92:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(S,1,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:57:21: note: in expansion of macro 'FP_PACK_SP' #define PACK_S(r,f) FP_PACK_SP(&r,f) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:103:2: note: in expansion of macro 'PACK_S' PACK_##SZ(N, Fr); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:49: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:115:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, SUB); ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:175:10: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/single.h:92:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(S,1,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:57:21: note: in expansion of macro 'FP_PACK_SP' #define PACK_S(r,f) FP_PACK_SP(&r,f) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:103:2: note: in expansion of macro 'PACK_S' PACK_##SZ(N, Fr); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:49: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:115:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, SUB); ^ In file included from /home/kisskb/slave/src/include/math-emu/soft-fp.h:184:0, from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22: /home/kisskb/slave/src/arch/sh/math-emu/math.c: In function 'fmul': /home/kisskb/slave/src/include/math-emu/op-2.h:52:18: warning: left shift count is negative [-Wshift-count-negative] X##_f1 = X##_f0 << ((N) - _FP_W_TYPE_SIZE); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:42:5: note: in expansion of macro '_FP_FRAC_SLL_2' _FP_FRAC_SLL_##wc(X, _FP_WORKBITS); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:92:5: note: in expansion of macro '_FP_UNPACK_CANONICAL' _FP_UNPACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:62:53: note: in expansion of macro 'FP_UNPACK_DP' {u32 t[2]; t[0]=((u32*)&r)[1]; t[1]=((u32*)&r)[0]; FP_UNPACK_DP(f,t);} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:101:2: note: in expansion of macro 'UNPACK_D' UNPACK_##SZ(Fm, M); UNPACK_##SZ(Fn, N); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, MUL); ^ /home/kisskb/slave/src/include/math-emu/op-2.h:52:18: warning: left shift count is negative [-Wshift-count-negative] X##_f1 = X##_f0 << ((N) - _FP_W_TYPE_SIZE); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:42:5: note: in expansion of macro '_FP_FRAC_SLL_2' _FP_FRAC_SLL_##wc(X, _FP_WORKBITS); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:92:5: note: in expansion of macro '_FP_UNPACK_CANONICAL' _FP_UNPACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:62:53: note: in expansion of macro 'FP_UNPACK_DP' {u32 t[2]; t[0]=((u32*)&r)[1]; t[1]=((u32*)&r)[0]; FP_UNPACK_DP(f,t);} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:101:22: note: in expansion of macro 'UNPACK_D' UNPACK_##SZ(Fm, M); UNPACK_##SZ(Fn, N); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, MUL); ^ /home/kisskb/slave/src/include/math-emu/op-2.h:84:19: warning: right shift count is negative [-Wshift-count-negative] X##_f0 = (X##_f1 >> ((N) - _FP_W_TYPE_SIZE) | \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:405:7: note: in expansion of macro '_FP_FRAC_SRS_2' _FP_FRAC_SRS_##wc(R, 1, _FP_WFRACBITS_##fs); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:112:27: note: in expansion of macro '_FP_MUL' #define FP_MUL_D(R,X,Y) _FP_MUL(D,2,R,X,Y) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:102:2: note: in expansion of macro 'FP_MUL_D' FP_##OP##_##SZ(Fr, Fn, Fm); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, MUL); ^ /home/kisskb/slave/src/include/math-emu/op-2.h:85:13: warning: left shift count >= width of type [-Wshift-count-overflow] (((X##_f1 << (2*_FP_W_TYPE_SIZE - (N))) | X##_f0) != 0)); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:405:7: note: in expansion of macro '_FP_FRAC_SRS_2' _FP_FRAC_SRS_##wc(R, 1, _FP_WFRACBITS_##fs); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:112:27: note: in expansion of macro '_FP_MUL' #define FP_MUL_D(R,X,Y) _FP_MUL(D,2,R,X,Y) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:102:2: note: in expansion of macro 'FP_MUL_D' FP_##OP##_##SZ(Fr, Fn, Fm); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, MUL); ^ In file included from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22:0: /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:97:2: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:103:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:60:13: note: in expansion of macro 'FP_PACK_DP' {u32 t[2]; FP_PACK_DP(t,f); ((u32*)&r)[0]=t[1]; ((u32*)&r)[1]=t[0];} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:103:2: note: in expansion of macro 'PACK_D' PACK_##SZ(N, Fr); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, MUL); ^ In file included from /home/kisskb/slave/src/include/math-emu/soft-fp.h:184:0, from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22: /home/kisskb/slave/src/include/math-emu/op-2.h:66:18: warning: right shift count is negative [-Wshift-count-negative] X##_f0 = X##_f1 >> ((N) - _FP_W_TYPE_SIZE); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:103:2: note: in expansion of macro '_FP_FRAC_SRL_2' _FP_FRAC_SRL_##wc(X, _FP_WORKBITS); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:103:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:60:13: note: in expansion of macro 'FP_PACK_DP' {u32 t[2]; FP_PACK_DP(t,f); ((u32*)&r)[0]=t[1]; ((u32*)&r)[1]=t[0];} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:103:2: note: in expansion of macro 'PACK_D' PACK_##SZ(N, Fr); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, MUL); ^ In file included from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22:0: /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:150:3: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:103:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:60:13: note: in expansion of macro 'FP_PACK_DP' {u32 t[2]; FP_PACK_DP(t,f); ((u32*)&r)[0]=t[1]; ((u32*)&r)[1]=t[0];} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:103:2: note: in expansion of macro 'PACK_D' PACK_##SZ(N, Fr); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, MUL); ^ In file included from /home/kisskb/slave/src/include/math-emu/soft-fp.h:184:0, from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22: /home/kisskb/slave/src/include/math-emu/op-2.h:66:18: warning: right shift count is negative [-Wshift-count-negative] X##_f0 = X##_f1 >> ((N) - _FP_W_TYPE_SIZE); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:161:7: note: in expansion of macro '_FP_FRAC_SRL_2' _FP_FRAC_SRL_##wc(X, _FP_WORKBITS); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:103:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:60:13: note: in expansion of macro 'FP_PACK_DP' {u32 t[2]; FP_PACK_DP(t,f); ((u32*)&r)[0]=t[1]; ((u32*)&r)[1]=t[0];} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:103:2: note: in expansion of macro 'PACK_D' PACK_##SZ(N, Fr); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, MUL); ^ In file included from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22:0: /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:175:10: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:103:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:60:13: note: in expansion of macro 'FP_PACK_DP' {u32 t[2]; FP_PACK_DP(t,f); ((u32*)&r)[0]=t[1]; ((u32*)&r)[1]=t[0];} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:103:2: note: in expansion of macro 'PACK_D' PACK_##SZ(N, Fr); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, MUL); ^ In file included from /home/kisskb/slave/src/include/math-emu/soft-fp.h:184:0, from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22: /home/kisskb/slave/src/include/math-emu/op-2.h:84:19: warning: right shift count is negative [-Wshift-count-negative] X##_f0 = (X##_f1 >> ((N) - _FP_W_TYPE_SIZE) | \ ^ /home/kisskb/slave/src/include/math-emu/op-1.h:145:5: note: in expansion of macro '_FP_FRAC_SRS_2' _FP_FRAC_SRS_2(_Z, wfracbits-1, 2*wfracbits); \ ^ /home/kisskb/slave/src/arch/sh/include/asm/sfp-machine.h:34:3: note: in expansion of macro '_FP_MUL_MEAT_1_wide' _FP_MUL_MEAT_1_wide(_FP_WFRACBITS_S,R,X,Y,umul_ppmm) ^ /home/kisskb/slave/src/include/math-emu/op-common.h:402:5: note: in expansion of macro '_FP_MUL_MEAT_S' _FP_MUL_MEAT_##fs(R,X,Y); \ ^ /home/kisskb/slave/src/include/math-emu/single.h:101:27: note: in expansion of macro '_FP_MUL' #define FP_MUL_S(R,X,Y) _FP_MUL(S,1,R,X,Y) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:102:2: note: in expansion of macro 'FP_MUL_S' FP_##OP##_##SZ(Fr, Fn, Fm); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:49: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, MUL); ^ /home/kisskb/slave/src/include/math-emu/op-2.h:85:13: warning: left shift count >= width of type [-Wshift-count-overflow] (((X##_f1 << (2*_FP_W_TYPE_SIZE - (N))) | X##_f0) != 0)); \ ^ /home/kisskb/slave/src/include/math-emu/op-1.h:145:5: note: in expansion of macro '_FP_FRAC_SRS_2' _FP_FRAC_SRS_2(_Z, wfracbits-1, 2*wfracbits); \ ^ /home/kisskb/slave/src/arch/sh/include/asm/sfp-machine.h:34:3: note: in expansion of macro '_FP_MUL_MEAT_1_wide' _FP_MUL_MEAT_1_wide(_FP_WFRACBITS_S,R,X,Y,umul_ppmm) ^ /home/kisskb/slave/src/include/math-emu/op-common.h:402:5: note: in expansion of macro '_FP_MUL_MEAT_S' _FP_MUL_MEAT_##fs(R,X,Y); \ ^ /home/kisskb/slave/src/include/math-emu/single.h:101:27: note: in expansion of macro '_FP_MUL' #define FP_MUL_S(R,X,Y) _FP_MUL(S,1,R,X,Y) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:102:2: note: in expansion of macro 'FP_MUL_S' FP_##OP##_##SZ(Fr, Fn, Fm); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:49: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, MUL); ^ In file included from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22:0: /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:97:2: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/single.h:92:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(S,1,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:57:21: note: in expansion of macro 'FP_PACK_SP' #define PACK_S(r,f) FP_PACK_SP(&r,f) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:103:2: note: in expansion of macro 'PACK_S' PACK_##SZ(N, Fr); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:49: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, MUL); ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:150:3: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/single.h:92:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(S,1,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:57:21: note: in expansion of macro 'FP_PACK_SP' #define PACK_S(r,f) FP_PACK_SP(&r,f) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:103:2: note: in expansion of macro 'PACK_S' PACK_##SZ(N, Fr); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:49: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, MUL); ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:175:10: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/single.h:92:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(S,1,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:57:21: note: in expansion of macro 'FP_PACK_SP' #define PACK_S(r,f) FP_PACK_SP(&r,f) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:103:2: note: in expansion of macro 'PACK_S' PACK_##SZ(N, Fr); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:49: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:122:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, MUL); ^ In file included from /home/kisskb/slave/src/include/math-emu/soft-fp.h:184:0, from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22: /home/kisskb/slave/src/arch/sh/math-emu/math.c: In function 'fdiv': /home/kisskb/slave/src/include/math-emu/op-2.h:52:18: warning: left shift count is negative [-Wshift-count-negative] X##_f1 = X##_f0 << ((N) - _FP_W_TYPE_SIZE); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:42:5: note: in expansion of macro '_FP_FRAC_SLL_2' _FP_FRAC_SLL_##wc(X, _FP_WORKBITS); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:92:5: note: in expansion of macro '_FP_UNPACK_CANONICAL' _FP_UNPACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:62:53: note: in expansion of macro 'FP_UNPACK_DP' {u32 t[2]; t[0]=((u32*)&r)[1]; t[1]=((u32*)&r)[0]; FP_UNPACK_DP(f,t);} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:101:2: note: in expansion of macro 'UNPACK_D' UNPACK_##SZ(Fm, M); UNPACK_##SZ(Fn, N); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:129:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, DIV); ^ /home/kisskb/slave/src/include/math-emu/op-2.h:52:18: warning: left shift count is negative [-Wshift-count-negative] X##_f1 = X##_f0 << ((N) - _FP_W_TYPE_SIZE); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:42:5: note: in expansion of macro '_FP_FRAC_SLL_2' _FP_FRAC_SLL_##wc(X, _FP_WORKBITS); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:92:5: note: in expansion of macro '_FP_UNPACK_CANONICAL' _FP_UNPACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:62:53: note: in expansion of macro 'FP_UNPACK_DP' {u32 t[2]; t[0]=((u32*)&r)[1]; t[1]=((u32*)&r)[0]; FP_UNPACK_DP(f,t);} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:101:22: note: in expansion of macro 'UNPACK_D' UNPACK_##SZ(Fm, M); UNPACK_##SZ(Fn, N); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:129:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, DIV); ^ /home/kisskb/slave/src/include/math-emu/op-2.h:52:18: warning: left shift count is negative [-Wshift-count-negative] X##_f1 = X##_f0 << ((N) - _FP_W_TYPE_SIZE); \ ^ /home/kisskb/slave/src/include/math-emu/op-2.h:447:5: note: in expansion of macro '_FP_FRAC_SLL_2' _FP_FRAC_SLL_2(Y, _FP_WFRACXBITS_##fs); \ ^ /home/kisskb/slave/src/arch/sh/include/asm/sfp-machine.h:41:31: note: in expansion of macro '_FP_DIV_MEAT_2_udiv' #define _FP_DIV_MEAT_D(R,X,Y) _FP_DIV_MEAT_2_udiv(D,R,X,Y) ^ /home/kisskb/slave/src/include/math-emu/op-common.h:465:5: note: in expansion of macro '_FP_DIV_MEAT_D' _FP_DIV_MEAT_##fs(R,X,Y); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:113:27: note: in expansion of macro '_FP_DIV' #define FP_DIV_D(R,X,Y) _FP_DIV(D,2,R,X,Y) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:102:2: note: in expansion of macro 'FP_DIV_D' FP_##OP##_##SZ(Fr, Fn, Fm); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:129:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, DIV); ^ In file included from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22:0: /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:97:2: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:103:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:60:13: note: in expansion of macro 'FP_PACK_DP' {u32 t[2]; FP_PACK_DP(t,f); ((u32*)&r)[0]=t[1]; ((u32*)&r)[1]=t[0];} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:103:2: note: in expansion of macro 'PACK_D' PACK_##SZ(N, Fr); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:129:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, DIV); ^ In file included from /home/kisskb/slave/src/include/math-emu/soft-fp.h:184:0, from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22: /home/kisskb/slave/src/include/math-emu/op-2.h:66:18: warning: right shift count is negative [-Wshift-count-negative] X##_f0 = X##_f1 >> ((N) - _FP_W_TYPE_SIZE); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:103:2: note: in expansion of macro '_FP_FRAC_SRL_2' _FP_FRAC_SRL_##wc(X, _FP_WORKBITS); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:103:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:60:13: note: in expansion of macro 'FP_PACK_DP' {u32 t[2]; FP_PACK_DP(t,f); ((u32*)&r)[0]=t[1]; ((u32*)&r)[1]=t[0];} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:103:2: note: in expansion of macro 'PACK_D' PACK_##SZ(N, Fr); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:129:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, DIV); ^ In file included from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22:0: /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:150:3: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:103:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:60:13: note: in expansion of macro 'FP_PACK_DP' {u32 t[2]; FP_PACK_DP(t,f); ((u32*)&r)[0]=t[1]; ((u32*)&r)[1]=t[0];} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:103:2: note: in expansion of macro 'PACK_D' PACK_##SZ(N, Fr); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:129:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, DIV); ^ In file included from /home/kisskb/slave/src/include/math-emu/soft-fp.h:184:0, from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22: /home/kisskb/slave/src/include/math-emu/op-2.h:66:18: warning: right shift count is negative [-Wshift-count-negative] X##_f0 = X##_f1 >> ((N) - _FP_W_TYPE_SIZE); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:161:7: note: in expansion of macro '_FP_FRAC_SRL_2' _FP_FRAC_SRL_##wc(X, _FP_WORKBITS); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:103:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:60:13: note: in expansion of macro 'FP_PACK_DP' {u32 t[2]; FP_PACK_DP(t,f); ((u32*)&r)[0]=t[1]; ((u32*)&r)[1]=t[0];} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:103:2: note: in expansion of macro 'PACK_D' PACK_##SZ(N, Fr); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:129:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, DIV); ^ In file included from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22:0: /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:175:10: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:103:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:60:13: note: in expansion of macro 'FP_PACK_DP' {u32 t[2]; FP_PACK_DP(t,f); ((u32*)&r)[0]=t[1]; ((u32*)&r)[1]=t[0];} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:103:2: note: in expansion of macro 'PACK_D' PACK_##SZ(N, Fr); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:27: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:129:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, DIV); ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:97:2: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/single.h:92:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(S,1,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:57:21: note: in expansion of macro 'FP_PACK_SP' #define PACK_S(r,f) FP_PACK_SP(&r,f) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:103:2: note: in expansion of macro 'PACK_S' PACK_##SZ(N, Fr); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:49: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:129:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, DIV); ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:150:3: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/single.h:92:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(S,1,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:57:21: note: in expansion of macro 'FP_PACK_SP' #define PACK_S(r,f) FP_PACK_SP(&r,f) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:103:2: note: in expansion of macro 'PACK_S' PACK_##SZ(N, Fr); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:49: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:129:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, DIV); ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:175:10: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/single.h:92:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(S,1,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:57:21: note: in expansion of macro 'FP_PACK_SP' #define PACK_S(r,f) FP_PACK_SP(&r,f) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:103:2: note: in expansion of macro 'PACK_S' PACK_##SZ(N, Fr); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:66:49: note: in expansion of macro 'ARITH_X' FP_DECL_EX; if(FPSCR_PR) op(D,x,DRm,DRn); else op(S,x,FRm,FRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:129:2: note: in expansion of macro 'BOTH_PRmn' BOTH_PRmn(ARITH_X, DIV); ^ In file included from /home/kisskb/slave/src/include/math-emu/soft-fp.h:184:0, from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22: /home/kisskb/slave/src/arch/sh/math-emu/math.c: In function 'fmac': /home/kisskb/slave/src/include/math-emu/op-2.h:84:19: warning: right shift count is negative [-Wshift-count-negative] X##_f0 = (X##_f1 >> ((N) - _FP_W_TYPE_SIZE) | \ ^ /home/kisskb/slave/src/include/math-emu/op-1.h:145:5: note: in expansion of macro '_FP_FRAC_SRS_2' _FP_FRAC_SRS_2(_Z, wfracbits-1, 2*wfracbits); \ ^ /home/kisskb/slave/src/arch/sh/include/asm/sfp-machine.h:34:3: note: in expansion of macro '_FP_MUL_MEAT_1_wide' _FP_MUL_MEAT_1_wide(_FP_WFRACBITS_S,R,X,Y,umul_ppmm) ^ /home/kisskb/slave/src/include/math-emu/op-common.h:402:5: note: in expansion of macro '_FP_MUL_MEAT_S' _FP_MUL_MEAT_##fs(R,X,Y); \ ^ /home/kisskb/slave/src/include/math-emu/single.h:101:27: note: in expansion of macro '_FP_MUL' #define FP_MUL_S(R,X,Y) _FP_MUL(S,1,R,X,Y) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:145:2: note: in expansion of macro 'FP_MUL_S' FP_MUL_S(Ft, Fm, F0); ^ /home/kisskb/slave/src/include/math-emu/op-2.h:85:13: warning: left shift count >= width of type [-Wshift-count-overflow] (((X##_f1 << (2*_FP_W_TYPE_SIZE - (N))) | X##_f0) != 0)); \ ^ /home/kisskb/slave/src/include/math-emu/op-1.h:145:5: note: in expansion of macro '_FP_FRAC_SRS_2' _FP_FRAC_SRS_2(_Z, wfracbits-1, 2*wfracbits); \ ^ /home/kisskb/slave/src/arch/sh/include/asm/sfp-machine.h:34:3: note: in expansion of macro '_FP_MUL_MEAT_1_wide' _FP_MUL_MEAT_1_wide(_FP_WFRACBITS_S,R,X,Y,umul_ppmm) ^ /home/kisskb/slave/src/include/math-emu/op-common.h:402:5: note: in expansion of macro '_FP_MUL_MEAT_S' _FP_MUL_MEAT_##fs(R,X,Y); \ ^ /home/kisskb/slave/src/include/math-emu/single.h:101:27: note: in expansion of macro '_FP_MUL' #define FP_MUL_S(R,X,Y) _FP_MUL(S,1,R,X,Y) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:145:2: note: in expansion of macro 'FP_MUL_S' FP_MUL_S(Ft, Fm, F0); ^ In file included from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22:0: /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:97:2: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/single.h:92:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(S,1,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:57:21: note: in expansion of macro 'FP_PACK_SP' #define PACK_S(r,f) FP_PACK_SP(&r,f) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:147:2: note: in expansion of macro 'PACK_S' PACK_S(FRn, Fr); ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:150:3: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/single.h:92:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(S,1,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:57:21: note: in expansion of macro 'FP_PACK_SP' #define PACK_S(r,f) FP_PACK_SP(&r,f) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:147:2: note: in expansion of macro 'PACK_S' PACK_S(FRn, Fr); ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:175:10: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/single.h:92:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(S,1,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:57:21: note: in expansion of macro 'FP_PACK_SP' #define PACK_S(r,f) FP_PACK_SP(&r,f) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:147:2: note: in expansion of macro 'PACK_S' PACK_S(FRn, Fr); ^ In file included from /home/kisskb/slave/src/include/math-emu/soft-fp.h:184:0, from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22: /home/kisskb/slave/src/arch/sh/math-emu/math.c: In function 'ffloat': /home/kisskb/slave/src/include/math-emu/op-common.h:801:39: warning: right shift count >= width of type [-Wshift-count-overflow] __FP_CLZ_2(X##_e, (_FP_W_TYPE)(ur_ >> _FP_W_TYPE_SIZE), \ ^ /home/kisskb/slave/src/include/math-emu/op-2.h:136:9: note: in definition of macro '__FP_CLZ_2' if (xh) \ ^ /home/kisskb/slave/src/include/math-emu/double.h:122:34: note: in expansion of macro '_FP_FROM_INT' #define FP_FROM_INT_D(X,r,rs,rt) _FP_FROM_INT(D,2,X,r,rs,rt) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:287:2: note: in expansion of macro 'FP_FROM_INT_D' FP_FROM_INT_##SZ(Fn, FPUL, 32, int); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:294:3: note: in expansion of macro 'EMU_FLOAT_X' EMU_FLOAT_X(D, DRn); ^ In file included from /home/kisskb/slave/src/include/math-emu/soft-fp.h:187:0, from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22: /home/kisskb/slave/src/include/math-emu/op-common.h:801:39: warning: right shift count >= width of type [-Wshift-count-overflow] __FP_CLZ_2(X##_e, (_FP_W_TYPE)(ur_ >> _FP_W_TYPE_SIZE), \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:839:22: note: in definition of macro '__FP_CLZ' _FP_W_TYPE _t = (x); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:801:4: note: in expansion of macro '__FP_CLZ_2' __FP_CLZ_2(X##_e, (_FP_W_TYPE)(ur_ >> _FP_W_TYPE_SIZE), \ ^ /home/kisskb/slave/src/include/math-emu/double.h:122:34: note: in expansion of macro '_FP_FROM_INT' #define FP_FROM_INT_D(X,r,rs,rt) _FP_FROM_INT(D,2,X,r,rs,rt) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:287:2: note: in expansion of macro 'FP_FROM_INT_D' FP_FROM_INT_##SZ(Fn, FPUL, 32, int); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:294:3: note: in expansion of macro 'EMU_FLOAT_X' EMU_FLOAT_X(D, DRn); ^ In file included from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22:0: /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:97:2: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:103:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:60:13: note: in expansion of macro 'FP_PACK_DP' {u32 t[2]; FP_PACK_DP(t,f); ((u32*)&r)[0]=t[1]; ((u32*)&r)[1]=t[0];} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:288:2: note: in expansion of macro 'PACK_D' PACK_##SZ(N, Fn); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:294:3: note: in expansion of macro 'EMU_FLOAT_X' EMU_FLOAT_X(D, DRn); ^ In file included from /home/kisskb/slave/src/include/math-emu/soft-fp.h:184:0, from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22: /home/kisskb/slave/src/include/math-emu/op-2.h:66:18: warning: right shift count is negative [-Wshift-count-negative] X##_f0 = X##_f1 >> ((N) - _FP_W_TYPE_SIZE); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:103:2: note: in expansion of macro '_FP_FRAC_SRL_2' _FP_FRAC_SRL_##wc(X, _FP_WORKBITS); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:103:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:60:13: note: in expansion of macro 'FP_PACK_DP' {u32 t[2]; FP_PACK_DP(t,f); ((u32*)&r)[0]=t[1]; ((u32*)&r)[1]=t[0];} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:288:2: note: in expansion of macro 'PACK_D' PACK_##SZ(N, Fn); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:294:3: note: in expansion of macro 'EMU_FLOAT_X' EMU_FLOAT_X(D, DRn); ^ In file included from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22:0: /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:150:3: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:103:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:60:13: note: in expansion of macro 'FP_PACK_DP' {u32 t[2]; FP_PACK_DP(t,f); ((u32*)&r)[0]=t[1]; ((u32*)&r)[1]=t[0];} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:288:2: note: in expansion of macro 'PACK_D' PACK_##SZ(N, Fn); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:294:3: note: in expansion of macro 'EMU_FLOAT_X' EMU_FLOAT_X(D, DRn); ^ In file included from /home/kisskb/slave/src/include/math-emu/soft-fp.h:184:0, from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22: /home/kisskb/slave/src/include/math-emu/op-2.h:66:18: warning: right shift count is negative [-Wshift-count-negative] X##_f0 = X##_f1 >> ((N) - _FP_W_TYPE_SIZE); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:161:7: note: in expansion of macro '_FP_FRAC_SRL_2' _FP_FRAC_SRL_##wc(X, _FP_WORKBITS); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:103:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:60:13: note: in expansion of macro 'FP_PACK_DP' {u32 t[2]; FP_PACK_DP(t,f); ((u32*)&r)[0]=t[1]; ((u32*)&r)[1]=t[0];} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:288:2: note: in expansion of macro 'PACK_D' PACK_##SZ(N, Fn); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:294:3: note: in expansion of macro 'EMU_FLOAT_X' EMU_FLOAT_X(D, DRn); ^ In file included from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22:0: /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:175:10: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:103:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:60:13: note: in expansion of macro 'FP_PACK_DP' {u32 t[2]; FP_PACK_DP(t,f); ((u32*)&r)[0]=t[1]; ((u32*)&r)[1]=t[0];} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:288:2: note: in expansion of macro 'PACK_D' PACK_##SZ(N, Fn); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:294:3: note: in expansion of macro 'EMU_FLOAT_X' EMU_FLOAT_X(D, DRn); ^ In file included from /home/kisskb/slave/src/include/math-emu/soft-fp.h:184:0, from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22: /home/kisskb/slave/src/include/math-emu/op-common.h:801:39: warning: right shift count >= width of type [-Wshift-count-overflow] __FP_CLZ_2(X##_e, (_FP_W_TYPE)(ur_ >> _FP_W_TYPE_SIZE), \ ^ /home/kisskb/slave/src/include/math-emu/op-2.h:136:9: note: in definition of macro '__FP_CLZ_2' if (xh) \ ^ /home/kisskb/slave/src/include/math-emu/single.h:111:34: note: in expansion of macro '_FP_FROM_INT' #define FP_FROM_INT_S(X,r,rs,rt) _FP_FROM_INT(S,1,X,r,rs,rt) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:287:2: note: in expansion of macro 'FP_FROM_INT_S' FP_FROM_INT_##SZ(Fn, FPUL, 32, int); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:296:3: note: in expansion of macro 'EMU_FLOAT_X' EMU_FLOAT_X(S, FRn); ^ In file included from /home/kisskb/slave/src/include/math-emu/soft-fp.h:187:0, from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22: /home/kisskb/slave/src/include/math-emu/op-common.h:801:39: warning: right shift count >= width of type [-Wshift-count-overflow] __FP_CLZ_2(X##_e, (_FP_W_TYPE)(ur_ >> _FP_W_TYPE_SIZE), \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:839:22: note: in definition of macro '__FP_CLZ' _FP_W_TYPE _t = (x); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:801:4: note: in expansion of macro '__FP_CLZ_2' __FP_CLZ_2(X##_e, (_FP_W_TYPE)(ur_ >> _FP_W_TYPE_SIZE), \ ^ /home/kisskb/slave/src/include/math-emu/single.h:111:34: note: in expansion of macro '_FP_FROM_INT' #define FP_FROM_INT_S(X,r,rs,rt) _FP_FROM_INT(S,1,X,r,rs,rt) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:287:2: note: in expansion of macro 'FP_FROM_INT_S' FP_FROM_INT_##SZ(Fn, FPUL, 32, int); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:296:3: note: in expansion of macro 'EMU_FLOAT_X' EMU_FLOAT_X(S, FRn); ^ In file included from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22:0: /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:97:2: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/single.h:92:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(S,1,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:57:21: note: in expansion of macro 'FP_PACK_SP' #define PACK_S(r,f) FP_PACK_SP(&r,f) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:288:2: note: in expansion of macro 'PACK_S' PACK_##SZ(N, Fn); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:296:3: note: in expansion of macro 'EMU_FLOAT_X' EMU_FLOAT_X(S, FRn); ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:150:3: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/single.h:92:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(S,1,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:57:21: note: in expansion of macro 'FP_PACK_SP' #define PACK_S(r,f) FP_PACK_SP(&r,f) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:288:2: note: in expansion of macro 'PACK_S' PACK_##SZ(N, Fn); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:296:3: note: in expansion of macro 'EMU_FLOAT_X' EMU_FLOAT_X(S, FRn); ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:175:10: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/single.h:92:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(S,1,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:57:21: note: in expansion of macro 'FP_PACK_SP' #define PACK_S(r,f) FP_PACK_SP(&r,f) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:288:2: note: in expansion of macro 'PACK_S' PACK_##SZ(N, Fn); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:296:3: note: in expansion of macro 'EMU_FLOAT_X' EMU_FLOAT_X(S, FRn); ^ In file included from /home/kisskb/slave/src/include/math-emu/soft-fp.h:184:0, from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22: /home/kisskb/slave/src/arch/sh/math-emu/math.c: In function 'ftrc': /home/kisskb/slave/src/include/math-emu/op-2.h:52:18: warning: left shift count is negative [-Wshift-count-negative] X##_f1 = X##_f0 << ((N) - _FP_W_TYPE_SIZE); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:42:5: note: in expansion of macro '_FP_FRAC_SLL_2' _FP_FRAC_SLL_##wc(X, _FP_WORKBITS); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:92:5: note: in expansion of macro '_FP_UNPACK_CANONICAL' _FP_UNPACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:62:53: note: in expansion of macro 'FP_UNPACK_DP' {u32 t[2]; t[0]=((u32*)&r)[1]; t[1]=((u32*)&r)[0]; FP_UNPACK_DP(f,t);} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:303:2: note: in expansion of macro 'UNPACK_D' UNPACK_##SZ(Fn, N); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:310:3: note: in expansion of macro 'EMU_FTRC_X' EMU_FTRC_X(D, DRn); ^ /home/kisskb/slave/src/include/math-emu/op-2.h:581:4: warning: left shift count >= width of type [-Wshift-count-overflow] r <<= _FP_W_TYPE_SIZE; \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:676:7: note: in expansion of macro '_FP_FRAC_ASSEMBLE_2' _FP_FRAC_ASSEMBLE_##wc(r, X, rsize); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:120:34: note: in expansion of macro '_FP_TO_INT' #define FP_TO_INT_D(r,X,rsz,rsg) _FP_TO_INT(D,2,r,X,rsz,rsg) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:304:2: note: in expansion of macro 'FP_TO_INT_D' FP_TO_INT_##SZ(FPUL, Fn, 32, 1); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:310:3: note: in expansion of macro 'EMU_FTRC_X' EMU_FTRC_X(D, DRn); ^ /home/kisskb/slave/src/include/math-emu/op-2.h:581:4: warning: left shift count >= width of type [-Wshift-count-overflow] r <<= _FP_W_TYPE_SIZE; \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:697:3: note: in expansion of macro '_FP_FRAC_ASSEMBLE_2' _FP_FRAC_ASSEMBLE_##wc(r, X, rsize); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:120:34: note: in expansion of macro '_FP_TO_INT' #define FP_TO_INT_D(r,X,rsz,rsg) _FP_TO_INT(D,2,r,X,rsz,rsg) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:304:2: note: in expansion of macro 'FP_TO_INT_D' FP_TO_INT_##SZ(FPUL, Fn, 32, 1); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:310:3: note: in expansion of macro 'EMU_FTRC_X' EMU_FTRC_X(D, DRn); ^ /home/kisskb/slave/src/include/math-emu/op-2.h:66:18: warning: right shift count is negative [-Wshift-count-negative] X##_f0 = X##_f1 >> ((N) - _FP_W_TYPE_SIZE); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:710:7: note: in expansion of macro '_FP_FRAC_SRL_2' _FP_FRAC_SRL_##wc(X, 1); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:120:34: note: in expansion of macro '_FP_TO_INT' #define FP_TO_INT_D(r,X,rsz,rsg) _FP_TO_INT(D,2,r,X,rsz,rsg) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:304:2: note: in expansion of macro 'FP_TO_INT_D' FP_TO_INT_##SZ(FPUL, Fn, 32, 1); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:310:3: note: in expansion of macro 'EMU_FTRC_X' EMU_FTRC_X(D, DRn); ^ /home/kisskb/slave/src/include/math-emu/op-2.h:581:4: warning: left shift count >= width of type [-Wshift-count-overflow] r <<= _FP_W_TYPE_SIZE; \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:712:3: note: in expansion of macro '_FP_FRAC_ASSEMBLE_2' _FP_FRAC_ASSEMBLE_##wc(r, X, rsize); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:120:34: note: in expansion of macro '_FP_TO_INT' #define FP_TO_INT_D(r,X,rsz,rsg) _FP_TO_INT(D,2,r,X,rsz,rsg) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:304:2: note: in expansion of macro 'FP_TO_INT_D' FP_TO_INT_##SZ(FPUL, Fn, 32, 1); }while(0) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:310:3: note: in expansion of macro 'EMU_FTRC_X' EMU_FTRC_X(D, DRn); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c: In function 'fcnvsd': /home/kisskb/slave/src/include/math-emu/op-2.h:52:18: warning: left shift count is negative [-Wshift-count-negative] X##_f1 = X##_f0 << ((N) - _FP_W_TYPE_SIZE); \ ^ /home/kisskb/slave/src/include/math-emu/op-2.h:610:5: note: in expansion of macro '_FP_FRAC_SLL_2' _FP_FRAC_SLL_2(D, (_FP_WFRACBITS_##dfs - _FP_WFRACBITS_##sfs)); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:822:5: note: in expansion of macro '_FP_FRAC_CONV_2_1' _FP_FRAC_CONV_##dwc##_##swc(dfs, sfs, D, S); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:323:2: note: in expansion of macro 'FP_CONV' FP_CONV(D, S, 2, 1, Fr, Fn); ^ In file included from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22:0: /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:97:2: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:103:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:60:13: note: in expansion of macro 'FP_PACK_DP' {u32 t[2]; FP_PACK_DP(t,f); ((u32*)&r)[0]=t[1]; ((u32*)&r)[1]=t[0];} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:324:2: note: in expansion of macro 'PACK_D' PACK_D(DRn, Fr); ^ In file included from /home/kisskb/slave/src/include/math-emu/soft-fp.h:184:0, from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22: /home/kisskb/slave/src/include/math-emu/op-2.h:66:18: warning: right shift count is negative [-Wshift-count-negative] X##_f0 = X##_f1 >> ((N) - _FP_W_TYPE_SIZE); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:103:2: note: in expansion of macro '_FP_FRAC_SRL_2' _FP_FRAC_SRL_##wc(X, _FP_WORKBITS); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:103:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:60:13: note: in expansion of macro 'FP_PACK_DP' {u32 t[2]; FP_PACK_DP(t,f); ((u32*)&r)[0]=t[1]; ((u32*)&r)[1]=t[0];} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:324:2: note: in expansion of macro 'PACK_D' PACK_D(DRn, Fr); ^ In file included from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22:0: /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:150:3: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:103:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:60:13: note: in expansion of macro 'FP_PACK_DP' {u32 t[2]; FP_PACK_DP(t,f); ((u32*)&r)[0]=t[1]; ((u32*)&r)[1]=t[0];} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:324:2: note: in expansion of macro 'PACK_D' PACK_D(DRn, Fr); ^ In file included from /home/kisskb/slave/src/include/math-emu/soft-fp.h:184:0, from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22: /home/kisskb/slave/src/include/math-emu/op-2.h:66:18: warning: right shift count is negative [-Wshift-count-negative] X##_f0 = X##_f1 >> ((N) - _FP_W_TYPE_SIZE); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:161:7: note: in expansion of macro '_FP_FRAC_SRL_2' _FP_FRAC_SRL_##wc(X, _FP_WORKBITS); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:103:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:60:13: note: in expansion of macro 'FP_PACK_DP' {u32 t[2]; FP_PACK_DP(t,f); ((u32*)&r)[0]=t[1]; ((u32*)&r)[1]=t[0];} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:324:2: note: in expansion of macro 'PACK_D' PACK_D(DRn, Fr); ^ In file included from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22:0: /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:175:10: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:103:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:60:13: note: in expansion of macro 'FP_PACK_DP' {u32 t[2]; FP_PACK_DP(t,f); ((u32*)&r)[0]=t[1]; ((u32*)&r)[1]=t[0];} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:324:2: note: in expansion of macro 'PACK_D' PACK_D(DRn, Fr); ^ In file included from /home/kisskb/slave/src/include/math-emu/soft-fp.h:184:0, from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22: /home/kisskb/slave/src/arch/sh/math-emu/math.c: In function 'fcnvds': /home/kisskb/slave/src/include/math-emu/op-2.h:52:18: warning: left shift count is negative [-Wshift-count-negative] X##_f1 = X##_f0 << ((N) - _FP_W_TYPE_SIZE); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:42:5: note: in expansion of macro '_FP_FRAC_SLL_2' _FP_FRAC_SLL_##wc(X, _FP_WORKBITS); \ ^ /home/kisskb/slave/src/include/math-emu/double.h:92:5: note: in expansion of macro '_FP_UNPACK_CANONICAL' _FP_UNPACK_CANONICAL(D,2,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:62:53: note: in expansion of macro 'FP_UNPACK_DP' {u32 t[2]; t[0]=((u32*)&r)[1]; t[1]=((u32*)&r)[0]; FP_UNPACK_DP(f,t);} ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:333:2: note: in expansion of macro 'UNPACK_D' UNPACK_D(Fn, DRn); ^ /home/kisskb/slave/src/include/math-emu/op-2.h:84:19: warning: right shift count is negative [-Wshift-count-negative] X##_f0 = (X##_f1 >> ((N) - _FP_W_TYPE_SIZE) | \ ^ /home/kisskb/slave/src/include/math-emu/op-2.h:599:7: note: in expansion of macro '_FP_FRAC_SRS_2' _FP_FRAC_SRS_2(S, (_FP_WFRACBITS_##sfs - _FP_WFRACBITS_##dfs), \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:822:5: note: in expansion of macro '_FP_FRAC_CONV_1_2' _FP_FRAC_CONV_##dwc##_##swc(dfs, sfs, D, S); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:334:2: note: in expansion of macro 'FP_CONV' FP_CONV(S, D, 1, 2, Fr, Fn); ^ /home/kisskb/slave/src/include/math-emu/op-2.h:85:13: warning: left shift count >= width of type [-Wshift-count-overflow] (((X##_f1 << (2*_FP_W_TYPE_SIZE - (N))) | X##_f0) != 0)); \ ^ /home/kisskb/slave/src/include/math-emu/op-2.h:599:7: note: in expansion of macro '_FP_FRAC_SRS_2' _FP_FRAC_SRS_2(S, (_FP_WFRACBITS_##sfs - _FP_WFRACBITS_##dfs), \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:822:5: note: in expansion of macro '_FP_FRAC_CONV_1_2' _FP_FRAC_CONV_##dwc##_##swc(dfs, sfs, D, S); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:334:2: note: in expansion of macro 'FP_CONV' FP_CONV(S, D, 1, 2, Fr, Fn); ^ /home/kisskb/slave/src/include/math-emu/op-2.h:66:18: warning: right shift count is negative [-Wshift-count-negative] X##_f0 = X##_f1 >> ((N) - _FP_W_TYPE_SIZE); \ ^ /home/kisskb/slave/src/include/math-emu/op-2.h:602:7: note: in expansion of macro '_FP_FRAC_SRL_2' _FP_FRAC_SRL_2(S, (_FP_WFRACBITS_##sfs - _FP_WFRACBITS_##dfs)); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:822:5: note: in expansion of macro '_FP_FRAC_CONV_1_2' _FP_FRAC_CONV_##dwc##_##swc(dfs, sfs, D, S); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:334:2: note: in expansion of macro 'FP_CONV' FP_CONV(S, D, 1, 2, Fr, Fn); ^ In file included from /home/kisskb/slave/src/arch/sh/math-emu/math.c:22:0: /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:97:2: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/single.h:92:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(S,1,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:57:21: note: in expansion of macro 'FP_PACK_SP' #define PACK_S(r,f) FP_PACK_SP(&r,f) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:335:2: note: in expansion of macro 'PACK_S' PACK_S(FPUL, Fr); ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:150:3: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/single.h:92:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(S,1,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:57:21: note: in expansion of macro 'FP_PACK_SP' #define PACK_S(r,f) FP_PACK_SP(&r,f) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:335:2: note: in expansion of macro 'PACK_S' PACK_S(FPUL, Fr); ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:141:32: warning: statement with no effect [-Wunused-value] #define _FP_ROUND_ZERO(wc, X) 0 ^ /home/kisskb/slave/src/include/math-emu/soft-fp.h:165:6: note: in expansion of macro '_FP_ROUND_ZERO' _FP_ROUND_ZERO(wc,X); \ ^ /home/kisskb/slave/src/include/math-emu/op-common.h:175:10: note: in expansion of macro '_FP_ROUND' _FP_ROUND(wc, X); \ ^ /home/kisskb/slave/src/include/math-emu/single.h:92:5: note: in expansion of macro '_FP_PACK_CANONICAL' _FP_PACK_CANONICAL(S,1,X); \ ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:57:21: note: in expansion of macro 'FP_PACK_SP' #define PACK_S(r,f) FP_PACK_SP(&r,f) ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c:335:2: note: in expansion of macro 'PACK_S' PACK_S(FPUL, Fr); ^ /home/kisskb/slave/src/arch/sh/math-emu/math.c: At top level: /home/kisskb/slave/src/arch/sh/math-emu/math.c:505:12: warning: 'ieee_fpe_handler' defined but not used [-Wunused-function] static int ieee_fpe_handler(struct pt_regs *regs) ^ LD init/mounts.o LD init/built-in.o LD arch/sh/mm/built-in.o LD arch/sh/math-emu/built-in.o make[1]: *** wait: No child processes. Stop. Makefile:150: recipe for target 'sub-make' failed make: *** [sub-make] Error 2 Command 'make -j 48 ARCH=sh O=/home/kisskb/slave/build/linus_sh-allyesconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/br-sh4-full-2016.08-613-ge98b4dd/bin/sh4-linux- ' returned non-zero exit status 2 # rm -rf /home/kisskb/slave/build/linus_sh-allyesconfig_sh4 # Build took: 0:00:11.259235