This is the mail archive of the
mailing list for the GCC project.
Re: -malign-double switch patch?
On Fri, 9 Aug 2002, Richard Henderson muttered drunkenly:
> On Thu, Aug 08, 2002 at 05:08:31PM -0400, Davis, Bryan wrote:
>> I am having the same problem as a few others with the gcc -malign-double
>> switch and the fstream seg fault thing.
> Apparently you didn't read the documentation, in which it is said
> that the switch affects the abi, and therefore should be used only
> with extreme caution under controled conditions.
GCC-3.1.x's manual says
| Control whether GCC aligns `double', `long double', and `long
| long' variables on a two word boundary or a one word boundary.
| Aligning `double' variables on a two word boundary will produce
| code that runs somewhat faster on a `Pentium' at the expense of
| more memory.
i.e., it doesn't mention the ABI breakage :( perhaps this is only in the
`There's something satisfying about killing JWZ over and over again.'
-- 1i, personal communication