On Feb 11, 2008 3:13 PM, Eric Botcazou <[EMAIL PROTECTED]> wrote:
> > My patch will only change alignment for long long scalars and arrays.
> > What alignments do Ada expect for long long on ia32? Does Ada expect
> > 8 byte alignments for struct/record?
>
> AFAICS your patch will downgrade the alignment of DImode, not just long long.

That is true and it still conforms to i386 psABI.

>
> It looks like the Ada compiler expects DImode to be aligned according to its
> size, like other integral modes.  I'd suggest to distill a reduced testcase
> and debug side-by-side in decl.o (the error message is issued there) against
> the pristine compiler, maybe it's only an oversight.
>

I don't know Ada to create a testcase. Can some Ada people help out?

Thanks.

H.J.

Reply via email to