Re: [PATCH] Work around host compiler placement new aliasing bug

2015-08-03 Thread Ulrich Weigand
Richard Biener wrote: > On Wed, Jul 29, 2015 at 3:57 PM, Ulrich Weigand wrote: > > Hello, > > > > this patch is a workaround for the problem discussed here: > > https://gcc.gnu.org/ml/gcc-patches/2015-07/msg01597.html > > > > The problem is that the new pool allocator code relies on C++ aliasing >

Re: [PATCH] Work around host compiler placement new aliasing bug

2015-07-29 Thread Richard Biener
On Wed, Jul 29, 2015 at 3:57 PM, Ulrich Weigand wrote: > Hello, > > this patch is a workaround for the problem discussed here: > https://gcc.gnu.org/ml/gcc-patches/2015-07/msg01597.html > > The problem is that the new pool allocator code relies on C++ aliasing > rules related to placement new (bas

[PATCH] Work around host compiler placement new aliasing bug

2015-07-29 Thread Ulrich Weigand
Hello, this patch is a workaround for the problem discussed here: https://gcc.gnu.org/ml/gcc-patches/2015-07/msg01597.html The problem is that the new pool allocator code relies on C++ aliasing rules related to placement new (basically, that placement new changes the dynamic type of the reference