This is the mail archive of the gcc@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]

Re: PATCH: `__norestrict' type qualifier


Chip Salzenberg wrote:
> > > (And alignment _can_ be a property of pointers on a word- addressed
> > > machine.)
> > 
> > In the scope of ISO C?
> 
> Yes.  On a word-addressed machine, a native pointer addresses a single
> word, which contains multiple bytes.  To address a byte you need an
> address and a byte index within the addressed word.  So sizeof(char*)
> is greater than sizeof(struct*), for example.

I don't think that's relevant to alignment as we meant it: there are
no unaligned pointers on those machines!

-- Jamie


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