3 /* { dg-options "-O2 -fdump-tree-cddce-details -fdelete-null-pointer-checks" } */
7 __attribute__((malloc,noinline))
8 static void* operator new(__SIZE_TYPE__ sz)
11 return ::operator new(sz);
14 static void operator delete(void* ptr)
17 ::operator delete(ptr);
27 __attribute__((malloc,noinline))
28 static void* operator new(__SIZE_TYPE__ sz)
31 return ::operator new(sz);
34 __attribute__((noinline))
35 static void operator delete(void* ptr)
38 ::operator delete(ptr);
48 static void* operator new(__SIZE_TYPE__ sz)
51 return ::operator new(sz);
54 static void operator delete(void* ptr)
57 ::operator delete(ptr);
81 /* { dg-final { scan-tree-dump-not "Deleting : operator delete" "cddce1"} } */
82 /* { dg-final { scan-tree-dump-not "Deleting : B::operator delete" "cddce1"} } */