by codeflo · 4y ago · 0 comments
I've found a simple example. Code order and compiler options are very finicky with this sort of thing, but as of posting this, clang optimizes away the null dereference here entirely: https://gcc.godbolt.org/z/zjhY1W67Y
(Edit: Simplified example even a bit more.)
No comments yet.