On Fri, 17 Apr 2020 at 08:05, Jakub Jelinek wrote: > One needs to use check-c++-all or GXX_TESTSUITE_STDS=98,11,14,17,2a make check > or similar to get that though, because 11 isn't tested by default, only 98, > 14 and 17 are ATM I think.
Right. > Fixed thusly, committed to trunk as obvious. Alternatively, leave it so it can be tested with C++11 but only declare the sized delete when the compiler supports it: #if __cpp_sized_deallocation void operator delete[](void* ptr, __SIZE_TYPE__ sz) noexcept { --count; ::operator delete(ptr, sz); } #endif