[Bug tree-optimization/68853] [6 Regression] gcc-6 miscompiles Chromium v8 garbage collector
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Dec 11 18:21:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68853
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Calling a NULL object is undefined.
Address address() { return reinterpret_cast<Address>(this); }
bool is_valid() { return address() !=
# 475 "../../v8/src/heap/spaces.h" 3 4
__null
# 475 "../../v8/src/heap/spaces.h"
; }
That will always be true. That is this can never be NULL.
More information about the Gcc-bugs
mailing list