https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87628
--- Comment #4 from AK <hiraditya at msn dot com> --- Seems like clang now added the check: $ clang++ -Oz -fno-exceptions if_delete(char*): # @if_delete(char*) test rdi, rdi jne operator delete(void*)@PLT # TAILCALL ret