This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix C++ strict-aliasing issues with memcpy folding


Hi,

[snip]
> Or wait, would you then also disallow placement new onto individual 
> subobjects of larger objects (be they char[] or not)?
>   
About this, just wanted to point out that in Pittsburgh this paper will
be discussed again

  http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2009/n2981.pdf

whereas in Santa Cruz concerns have been raised exactly about those
placement new of subobjects vs aliasing. In my opinion the proposed
solution to the long standing issue with std::pair is otherwise very
nice and I would really encourage you to check it vs aliasing...

Thanks,
Paolo.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]