This is the mail archive of the
mailing list for the GCC project.
Re: i386 PATCH for target/13685
- From: Jason Merrill <jason at redhat dot com>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: gcc-patches at gcc dot gnu dot org, Richard Henderson <rth at redhat dot com>
- Date: Fri, 08 Sep 2006 00:51:29 -0400
- Subject: Re: i386 PATCH for target/13685
- References: <4500B8C5.email@example.com> <20060908014607.GA18956@lucon.org>
H. J. Lu wrote:
On Thu, Sep 07, 2006 at 08:26:45PM -0400, Jason Merrill wrote:
The testcase in 13685 breaks because -Os implies a smaller
PREFERRED_STACK_BOUNDARY than SSE requires. This patch causes us to use
the 128-bit boundary if SSE is enabled, which fixes the bug.
I think it is a bad idea for -Os to change ABI. There are several bugs
open because of it. You can have a program compiled with -Os calling
a library compiled with -msee. The program will crash since -Os
uses a different ABI. The easiest way to fix is for -Os not to change
the ABI automatically.
I wouldn't mind changing the stack boundary to always be 128 bits.