http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52582
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-13 21:12:57 UTC --- Strange, with the 4.7-RH cc1plus I can reproduce the segfault even on inline void *operator new (__SIZE_TYPE__, void *p) throw () { return p; } struct B { virtual ~B (); B (); }; struct A : B { A () : B () {} virtual void bar (); }; void foo () { char a[64]; B *b = new (&a) A (); b->~B (); } (at -O2, both -m32 and -m64), but I can't reproduce it with a cross from x86_64-linux to powerpc64-linux.