This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Final intermodule patch
- From: Krister Walfridsson <cato at df dot lth dot se>
- To: Geoffrey Keating <gkeating at apple dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 28 Jul 2003 23:53:56 +0200 (MEST)
- Subject: Re: Final intermodule patch
On Fri, 11 Jul 2003, Geoffrey Keating wrote:
> There are a few changes since the last version. The most notable is
> the __attribute__((used)) changes; the previous implementation was
> broken, assuming that DECL_ASSEMBLER_NAME was valid when the decl
> wasn't even fully parsed yet! Also, there's a new C_DECL_FILE_SCOPE
> macro, and it's used in more places.
>
> Bootstrapped & tested on powerpc-darwin. Being committed now.
This chaneg cause 5 new testsuite failures
FAIL: gcc.c-torture/execute/alloca-1.c execution, -O0
FAIL: gcc.c-torture/execute/alloca-1.c execution, -O1
FAIL: gcc.c-torture/execute/alloca-1.c execution, -O2
FAIL: gcc.c-torture/execute/alloca-1.c execution, -O3 -fomit-frame-pointer
FAIL: gcc.c-torture/execute/alloca-1.c execution, -O3 -g
for i386-unknown-netbsdelf1.6.
What is happening is that the compiler "forgets" to align the stack
before doing a function call.
/Krister