On Fri, 19 Jun 2020 at 04:19, Jason Wang <jasow...@redhat.com> wrote: > > > On 2020/6/18 下午10:05, no-re...@patchew.org wrote: > > /tmp/qemu-test/src/tests/qht-bench.c:287:29: error: implicit conversion > > from 'unsigned long' to 'double' changes value from 18446744073709551615 to > > 18446744073709551616 [-Werror,-Wimplicit-int-float-conversion] > > *threshold = rate * UINT64_MAX; > > ~ ^~~~~~~~~~ > > /usr/include/stdint.h:130:23: note: expanded from macro 'UINT64_MAX' > > --- > > 18446744073709551615UL > > ^~~~~~~~~~~~~~~~~~~~~~ > > > Cc Emilio. > > This looks an issue not related to this pull request.
Yes; it's caused by an upgrade of the compiler version on the system/container that runs this asan test build for patchew. This proposed patch would silence the complaint: https://patchew.org/QEMU/20200617201309.1640952-1-richard.hender...@linaro.org/20200617201309.1640952-7-richard.hender...@linaro.org/ but it is waiting for review and/or discussion of what the right actual fix to the code would be. thanks -- PMM