[Bug tree-optimization/95663] static_cast checks for null even when the pointer is dereferenced

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 15 12:53:03 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95663

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Dereferencing in the null case is undefined.


More information about the Gcc-bugs mailing list