This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: BIGGEST_ALIGNMENT vs g++ compat test expectation on aix ?
- From: Olivier Hainque <hainque at adacore dot com>
- To: David Edelsohn <dje dot gcc at gmail dot com>
- Cc: gcc at gcc dot gnu dot org, hainque at adacore dot com
- Date: Thu, 2 Jul 2009 18:49:24 +0200
- Subject: Re: BIGGEST_ALIGNMENT vs g++ compat test expectation on aix ?
- References: <20090629135915.GA1654@cardhu.act-europe.fr> <303e1d290906300722p49fb56f2w87915994935a0b9b@mail.gmail.com>
David Edelsohn wrote:
> > ? ? ? ?.csect .data[RW],4
> > ? ? ? ? ? ? ? ? ? ? ? ?^^^
> > ? ? ? ?.align 6
> > ? ? ? ? ? ? ?^^^
> > a2661:
> > ? ? ? ?.space 10240
>
> The default alignment of CSECTs is 4, but using -fdata-sections should
> place the object in its own CSECT with stricter alignment.
Humm, it apparently doesn't: I see no difference in the generated
assembly for t027_y.C.
Olivier