gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] Re: 64-bit cleaning [PATCH]


From: Jan Hudec
Subject: Re: [Gnu-arch-users] Re: 64-bit cleaning [PATCH]
Date: Tue, 9 Sep 2003 08:29:35 +0200
User-agent: Mutt/1.5.4i

On Mon, Sep 08, 2003 at 17:53:19 -0500, John Goerzen wrote:
> Tom Lord <address@hidden> writes:
> >         3) Using a union here is ugly.
> 
> It's not ugly in the places that treat the void * as just a hunk of
> data.  They'd do the same with a union.

In such places, however, the aliasing rules are never broken, because
they don't assume anything about what void * points to. Unfortunately
they assume that void ** only points to void * and not any type of
pointer (which breaks aliasing rules in few places IIRC).

-------------------------------------------------------------------------------
                                                 Jan 'Bulb' Hudec 
<address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]