That's actually a solution to bug 90409, thanks for it :)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90409
Morwenn
De : libstdc++-ow...@gcc.gnu.org de la part de
François Dumont
Envoyé : mercredi 19 juin 2019 19:32
À : libstd...@gcc.gnu.org; gcc-patches
Obje
If I'm not mistaken this patch allocates N*sizeof(_Tp) bytes of storage and
deallocates N bytes when sized deallocation is enabled?
Shouldn't __return_temporary_buffer deallocate N*sizeof(_Tp) instead to match
the value passed to new?
De : libstdc++-ow...@gcc.gn