2 // { dg-options "-O2 -fstrict-aliasing -fdump-tree-final_cleanup" }
4 // Test that placement new does not introduce an unnecessary memory
8 typedef __SIZE_TYPE__ size_t;
10 inline void* operator new(size_t, void* __p) throw() { return __p; }
12 template <class T, int D>
18 for (int i = 0; i < D; ++i)
21 T& operator[](int i) { return x_m[i]; }
27 void foo(Vector<float, 3> *m)
36 // { dg-final { scan-tree-dump-times "= 0\.0" 1 "final_cleanup" } }
37 // { dg-final { cleanup-tree-dump "final_cleanup" } }