This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: GCC endless loop for store_bit_field with alignment 0
- To: Richard Henderson <rth at cygnus dot com>
- Subject: Re: GCC endless loop for store_bit_field with alignment 0
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 10 Aug 2000 18:21:13 -0600
- cc: David Edelsohn <dje at watson dot ibm dot com>, Geoff Keating <geoffk at cygnus dot com>, gcc-bugs at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <20000810171817.A30827@cygnus.com>you write:
> On Thu, Aug 10, 2000 at 08:02:20PM -0400, David Edelsohn wrote:
> > Why are such large alignments necessary? The largest alignment
> > that one ever needs is BIGGEST_ALIGNMENT ...
>
> False. The largest alignment that the *compiler* ever needs is
> BIGGEST_ALIGNMENT. The user may well have reasons to want to align
> things on cache lines, or pages, or super-pages, or ...
Right. The maximum alignment possible is usually dictated by the object
format being used. See MAX_OFILE_ALIGNMENT for an idea of the alignments
we support.
jeff