-malign-double behavior on W2K

craig@jcb-sc.com craig@jcb-sc.com
Mon May 31 21:06:00 GMT 1999

>Checking the results of various compiler options shows that -malign-double 
>does take effect on Craig Burley's align0.F running on W2K.  Maybe I was 
>over-optimistic in thinking that register spills might be expected to be 
>aligned when using -malign-double, even though that happens frequently now 
>when not running on W2K.

I think 64-bit spills *should* be aligned, but I don't know how
alignment was fixed to guess why they might not be.  Maybe it's
just a bug, perhaps a very hard-to-fix one.  Certainly there are
no ABI requirements for spills that require them to appear in
certain locations!?

(AFAIK, -malign-double isn't needed anymore except for "extreme"
alignment...the default is, now, to align except when doing so would
violate the ABI.  At least, that's basically how I've documented it.)

        tq vm, (burley)

More information about the Gcc-bugs mailing list