[PATCH] fix aliasing for chars in global structure
Joseph S. Myers
jsm28@cam.ac.uk
Mon Mar 11 02:01:00 GMT 2002
On Mon, 11 Mar 2002, Zack Weinberg wrote:
> extern struct first F;
> I am not sure what the literal text of the standard says, but my
> impression of the intent is that both of these are undefined.
They might or might not be defined in this case of extern struct first F -
see Nick Maclaren's "What is an object?" document (WG14 reflector sequence
9350 or ask him for a copy). If the pointers are to within allocated
memory, which in the original example they may be, I see nothing that
would stop there from being aliasing.
--
Joseph S. Myers
jsm28@cam.ac.uk
More information about the Gcc-patches
mailing list