This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/67513] ASAN: Not optimal shadow value check (unlikely condition checked in fast path)
- From: "y.gribov at samsung dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 10 Sep 2015 05:50:39 +0000
- Subject: [Bug sanitizer/67513] ASAN: Not optimal shadow value check (unlikely condition checked in fast path)
- Auto-submitted: auto-generated
- References: <bug-67513-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67513
--- Comment #1 from Yury Gribov <y.gribov at samsung dot com> ---
(In reply to Andrey Ryabinin from comment #0)
> (shadow value is usually zero).
What makes you think so? AFAIU for less-than-8-byte scalars it's always
non-zero. I vaguely remember than Kostya did something like this in Clang case
and it resulted in negligeable improvement.