https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95971
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
CC| |marxin at gcc dot gnu.org
Ever confirmed|0 |1
Last reconfirmed| |2020-06-29
--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
> The source code initializes A::a to (char*)1 in order to keep the code as
> small as possible to trigger the issue. A::a could have been initialized to
> a valid delete-able heap address, but this would unnecessarily enlarge the
> source code.
Thank you for the report. Please extend the example in order to not contain
undefined behavior.
delete 1 crashes for me.