On 10/24/2016 03:51 AM, Peter Maydell wrote: > /Users/pm215/src/qemu-for-merges/target-arm/translate.c:1019:1: error: > unused function 'gen_aa32_ld16ua > ' [-Werror,-Wunused-function] > DO_GEN_LD(16ua, MO_UW | MO_ALIGN) > ^ > /Users/pm215/src/qemu-for-merges/target-arm/translate.c:954:20: note: > expanded from macro 'DO_GEN_LD' > static inline void gen_aa32_ld##SUFF(DisasContext *s, TCGv_i32 val, \ > ^ > <scratch space>:130:1: note: expanded from here > gen_aa32_ld16ua > ^ > /Users/pm215/src/qemu-for-merges/target-arm/translate.c:1020:1: error: > unused function 'gen_aa32_ld32ua > ' [-Werror,-Wunused-function] > DO_GEN_LD(32ua, MO_UL | MO_ALIGN)
Bah. Annoyingly, even though I didn't configure with --disable-werror, I only got the warning from clang, which of course flashed by unseen. Folded the removal of these into the "target-arm: emulate LL/SC using cmpxchg helpers" patch which removed their use. r~