Matheus Tavares Bernardino <quic_mathb...@quicinc.com> wrote: > __builtin_ctzll() produces undefined results when the argument is 0. > This can be seen through test-xbzrle, which produces the following > warning: > > ../migration/xbzrle.c:265: runtime error: passing zero to ctz(), which is not > a valid argument > > Replace __builtin_ctzll() with our ctz64() wrapper which properly > handles 0. > > Signed-off-by: Matheus Tavares Bernardino <quic_mathb...@quicinc.com>
Reviewed-by: Juan Quintela <quint...@redhat.com> queued.