https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124564
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=103993
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #1)
> std::generator correctly provides matching promise-type::operator new and
> promise-type::operator delete, but it looks like the compiler is inlining
> _Promise_alloc<void>::operator new so that it only sees ::operator new, and
> then it complains that it doesn't match the _Promise_alloc<void>::operator
> delete.
The most likely a dup of bug 103993. I have not double checked that yet.