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

--- Comment #7 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
I wonder if DSE can use gimple_call_from_new_or_delete even without
-fassume-sane-operator-new.

In normal use of operator delete we know that the object in question was
destroyed and thus memory is undefined.
Now we mark also __builtin_operator_new/delete uses and in this case we know
delete can not inspect the memory in useful way since it does not know how what
libstdc++ does with it.

Reply via email to