https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116457
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This is NOT a security feature. It actually can introduce security bugs and even make things un-reproducible. As mentioned in the other bug, the c++ standard went out of their way to say this is invalid even.