https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126194
--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
That said, the following fixes the issue for me, making code (again) consistent
with the comment before it.
diff --git a/gcc/tree-ssa-structalias.cc b/gcc/tree-ssa-structalias.cc
index 0215243d5be..0444df38260 100644
--- a/gcc/tree-ssa-structalias.cc
+++ b/gcc/tree-ssa-structalias.cc
@@ -5093,6 +5093,7 @@ find_func_aliases_for_call (struct function *fn, gcall
*t)
the escaping of the pointer) can be ignored. */
else if (fndecl
&& DECL_IS_OPERATOR_DELETE_P (fndecl)
+ && DECL_IS_REPLACEABLE_OPERATOR (fndecl)
&& gimple_call_from_new_or_delete (t))
;
else