Does Ada build on Linux/ia32?

Eric Botcazou ebotcazou@adacore.com
Mon Feb 11 23:12:00 GMT 2008


> 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.

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.

-- 
Eric Botcazou



More information about the Gcc mailing list