This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: __alignof__(void)
- To: Todd Vierling <tv at pobox dot com>
- Subject: Re: __alignof__(void)
- From: John Carr <jfc at mit dot edu>
- Date: Thu, 10 Sep 1998 12:35:27 EDT
- Cc: Nathan Sidwell <nathan at acm dot org>, egcs at cygnus dot com
> 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.