This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: RFA: fix for unsupported alignment in g++ test


>>>>> "Nick" == Nick Clifton <nickc@cambridge.redhat.com> writes:

> Hi Jason,
>> Perhaps a better fix would be to remove the (64).

> That would also work.  I had assumed from the way the test had an
> explicit 64 alignment in it that this was intentional:

>   typedef float at[4][4] __attribute__ ((aligned (64)));

> It would be a pretty pathetic test if the alignment is only set to 4
> however.  Still here is an alternative patch to remove the alignment.
> What do you think ?

I mean just use ((aligned)), which requests the largest alignment supported
by the target.  That should do nicely, I would think.

Jason


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