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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The problem is that 0ul can convert to std::size_t but is also a null pointer
constant. Fixed by using an expression that isn't a valid null pointer
constant.

Reply via email to