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


On Wed, Feb 3, 2010 at 1:14 PM, Mark Mitchell <mark@codesourcery.com> wrote:
> Michael Matz wrote:
>
> This all depends on the fact that mem is an array of characters. ?An
> array of characters is always (in my model) understood to be a blob of
> bytes in which you can create and destroy other objects.

that model matches mine as well.
(It is too late to require C++ to have a distinct "memory byte"
type; and even if it does, we still have to support "legacy"
codes.)


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