https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103993
andre at kostur dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andre at kostur dot net
--- Comment #3 from andre at kostur dot net ---
Here's a smaller, minimal example of the issue (as described in the subject):
#include <cstdlib>
struct Foo {
static void * operator new( size_t s ) __attribute__( ( noinline ) ) {
return ::operator new( s );
}
static void operator delete( void * p ) { return ::operator delete( p ); }
};
int
main() {
Foo * f = new Foo();
delete f;
}