__alignof__(void)

John Carr jfc@mit.edu
Thu Sep 10 11:37:00 GMT 1998


> So how do you determine this `maximum alignment' in a MI fashion?
> This would have to be a MD hack at best.

It is already in the machine description (BIGGEST_ALIGNMENT macro) and
is used if you write __attribute__((aligned)).  See
c-common.c:decl_attributes, case A_ALIGNED.




More information about the Gcc mailing list