pointer alignment

From: j0mbolar (j0mbolar_at_engineer.com)
Date: 08/26/04


Date: 26 Aug 2004 09:01:18 -0700

for any pointer to T, does a pointer to T have different or can have
different alignment requirement than a pointer to pointer to T? if so,
where is the exact wording in the standard that would suggest so?



Relevant Pages

  • Re: alignment problem for structures
    ... I never liked the way it talks about the alignment. ... > A null pointer of any given type does not represent an address, ... > and thus the alignment requirement is "vacuously" satisfied. ... bit pattern for a special trap representation for un-dereferenceable ...
    (comp.std.c)
  • Re: pointer alignment
    ... >> for any pointer to T, does a pointer to T have different or can have ... >> different alignment requirement than a pointer to pointer to T? ... A char has no alignment restrictions. ...
    (comp.lang.c)
  • Re: [JW] alignment problem for structures
    ... > It says that the result is again a null pointer. ... which applies to all conversions of pointer ... > incomplete type. ... address that meets the appropriate alignment requirement? ...
    (comp.std.c)
  • Re: pointer alignment
    ... j0mbolar wrote: ... > for any pointer to T, does a pointer to T have different or can have ... > different alignment requirement than a pointer to pointer to T? ... I can't quote chapter and verse, but I can tell you that on the platforms ...
    (comp.lang.c)
  • Re: malloc() again
    ... The alignment requirement is a requirement on the value that malloc ... pointer to void and it is the same whether a value of that type is ...
    (comp.lang.c)