El mié, 17-02-2016 a las 17:53 +0100, Jakub Jelinek escribió:
That is wrong. Even older gcc versions would just optimize away the
assertion.
Even in -O0 builds?
We've been hesitantly removing ASSERT(this) statements from WebKit to
avoid compiler warnings from clang. Our asserts are enabled only in
debug builds, not in optimized release builds.