[Bug c++/82818] Bad Codegen, delete does not check for nullptrs

dark_sylinc at yahoo dot com.ar gcc-bugzilla@gcc.gnu.org
Fri Nov 3 02:44:00 GMT 2017


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

--- Comment #1 from dark_sylinc at yahoo dot com.ar ---
Update:

1. Confirmed to be broken with gcc 7.2
2. When I said fsanitize; I meant fsanitize=undefined
3. When code is slightly modified as in the new attachment, the crash is gone.
But it appears again if after calling a.destroy(); we add a.~FastArray();


More information about the Gcc-bugs mailing list