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: __alignof__(void)



> 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.



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