https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91369
--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Ok, so do I need to somehow mark the CALL_EXPR created from new/delete lowering and only treat calls to global replaceable allocator/deallocator functions specially if they either have this flag or are in allocate//deallocate method of std::allocator<T> template? And similarly perhaps do something for the placement new in std::construct_at etc.?