search for: a3ca86aea507

Displaying 2 results from an estimated 2 matches for "a3ca86aea507".

2018 Apr 18
5
RFC: Implementing -fno-delete-null-pointer-checks in clang
...s in clang/llvm related to null pointer accesses. Thanks, Manoj Background: https://lkml.org/lkml/2018/4/4/601 From Linus Torvalds: Note that we explicitly use "-fno-delete-null-pointer-checks" because we do *not* want NULL pointer check removal even in the case of a bug. See commit a3ca86aea507 ("Add '-fno-delete-null-pointer-checks' to gcc CFLAGS") for the reason: we had buggy code that accessed a pointer before the NULL pointer check, but the bug was "benign" as long as the compiler didn't actually remove the check. And note how the buggy code *looked* s...
2018 May 13
0
RFC: Implementing -fno-delete-null-pointer-checks in clang
...hanks, > Manoj > > Background: > https://lkml.org/lkml/2018/4/4/601 > > From Linus Torvalds: > > Note that we explicitly use "-fno-delete-null-pointer-checks" because > we do *not* want NULL pointer check removal even in the case of a bug. > > See commit a3ca86aea507 ("Add '-fno-delete-null-pointer-checks' to gcc > CFLAGS") for the reason: we had buggy code that accessed a pointer > before the NULL pointer check, but the bug was "benign" as long as the > compiler didn't actually remove the check. > > And note how t...