[Bug c++/65799] Allows constexpr conversion from cv void * to other type

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Jan 6 22:43:00 GMT 2019


Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
            Version|8.2.0                       |4.9.2
   Target Milestone|---                         |7.0

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed for GCC 7.1 by r238909, which fixed:

    PR c++/60760 - arithmetic on null pointers should not be allowed in
    PR c++/71091 - constexpr reference bound to a null pointer dereference

More information about the Gcc-bugs mailing list