Mail Archives: djgpp-workers/1998/01/14/06:22:47
On Mon, 12 Jan 1998, Marc Lehmann wrote:
> I was asked to sent an explanation of the options pgcc (and egcs sometime
> in the future) uses to ensure an 8 byte alignment of doubles, how it is
> achieved and what breaks.
Thanks for a detailed explanation.
> also, function like qsort() possibly destroys the alignment
> (although these libc functions are rare).
Can you explain why? Is this because `qsort' accepts a pointer to a
function as one of its arguments?
What other libc functions can be expected to destroy the alignment?
> it's IMHO best only to align the actual call to main and not compile anything
> with this switch (even more since this switch isn't available in every
> gcc version).
Could you please elaborate on the disadvantages of this switch, other
than non-support in older gcc versions?
- Raw text -