https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69624

--- Comment #7 from Jiri Slaby <jirislaby at gmail dot com> ---
(In reply to Dmitry Vyukov from comment #6)
> Also what gcc version?

$ gcc-6 --version
gcc-6 (SUSE Linux) 6.0.0 20160121 (experimental) [trunk revision 232670]

> I've tried:
> gcc version 6.0.0 20160105 (experimental) (GCC) 
> $ gcc /tmp/af_netlink.c -c -O2 -fsanitize-coverage=trace-pc
> -fsanitize=kernel-address --param asan-stack=1 --param asan-globals=1
> --param asan-instrumentation-with-call-threshold=10000
> -fasan-shadow-offset=0xdffffc0000000000

With this I see that too:
        movq    %r12, %rdx
#APP
# 28 "../arch/x86/include/asm/arch_hweight.h" 1
        661:
        call __sw_hweight32
662:
#...more ALTINST crap
#NO_APP
        addl    720(%rbx), %eax
        shrq    $3, %rdx
        movl    %eax, %r13d
        movabsq $-2305847407260205056, %rax
        cmpb    $0, (%rdx,%rax)

Reply via email to