https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69234
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This sounds like maybe a bug in the V8 sources. Can you try -fno-delete-null-pointer-checks ? Also can you provide the preprocessed source which is being miscompiled?