aliasing warnings [patch]
Andi Kleen
ak@muc.de
Thu Sep 30 23:58:00 GMT 1999
mrs@wrs.com (Mike Stump) writes:
> > To: rth@cygnus.com
> > From: Mark Mitchell <mark@codesourcery.com>
> > Date: Thu, 16 Sep 1999 14:27:29 -0700
>
> > >> char c[4]; *((int *) &c[0]) = 3;
>
> > Richard> Modulo the alignment argument, isn't this really ok?
>
> Yes (provided sizeof(int) <= 4 and c is suitably aligned.
Win64 uses 64bit ints. I guess gcc will want to support it someday.
-Andi
--
This is like TV. I don't like TV.
More information about the Gcc-patches
mailing list