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

--- Comment #47 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Uroš Bizjak from comment #46)
> Created attachment 58259 [details]
> Preprocessed file
> 
> gcc -O2 -fsanitize=kernel-address -fasan-shadow-offset=0xdffffc0000000000
> --param asan-instrumentation-with-call-threshold=10000 -fsanitize=bool -S
> alternative.i

Omitting -fsanitize=bool compiles to:

        movzbl  %gs:cpu_tlbstate_shared(%rip), %eax
        testb   %al, %al

where no sanitization is present with the above variable.

Reply via email to