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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Your testcase is invalid, contains undefined behavior as can be seen e.g. if
you built it with -fsanitize=undefined.
Calling a non-static member function on a nullptr object is UB.
And anything can happen afterwards.

Reply via email to