int array[1000];
} s;
-void* operator new (std::size_t n) throw (std::bad_alloc)
+__attribute__((noinline)) void* operator new (std::size_t n) throw (std::bad_alloc)
{
return malloc(n);
}
-void* operator new (std::size_t n, std::nothrow_t const &) throw ()
+__attribute__((noinline)) void* operator new (std::size_t n, std::nothrow_t const &) throw ()
{
return malloc(n);
}
-void* operator new[] (std::size_t n) throw (std::bad_alloc)
+__attribute__((noinline)) void* operator new[] (std::size_t n) throw (std::bad_alloc)
{
return malloc(n);
}
-void* operator new[] (std::size_t n, std::nothrow_t const &) throw ()
+__attribute__((noinline)) void* operator new[] (std::size_t n, std::nothrow_t const &) throw ()
{
return malloc(n);
}
-void operator delete (void* p)
+__attribute__((noinline)) void operator delete (void* p)
{
return free(p);
}
-void operator delete[] (void* p)
+__attribute__((noinline)) void operator delete[] (void* p)
{
return free(p);
}