This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Ping: RFA: Testsuite fixes (1/3): builtin_apply
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Joern Rennecke <amylaar at spamcop dot net>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 25 Sep 2011 17:04:21 +0000 (UTC)
- Subject: Re: Ping: RFA: Testsuite fixes (1/3): builtin_apply
- References: <20110925083521.gqkcy0xpw88ogg44-nzlynne@webmail.spamcop.net>
On Sun, 25 Sep 2011, Joern Rennecke wrote:
> I am working with a toolchain that is frugal with stack usage at startup, so
> an attempt to read dozens more bytes than have been pushed causes unmapped
> memory references.
>
> Fixed by adding an automatic variable that occupies sufficient space.
Shouldn't you fix STACK_ARGUMENTS_SIZE, conditional on the target in use?
(In gcc.dg/builtin-apply2.c; the other test would need such a definition
added.)
--
Joseph S. Myers
joseph@codesourcery.com