This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, testsuite, v2]: RFA: Fix gcc.c-torture/execute/multi-ix.c stack corruption for small STACK_SIZEs
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: Uros Bizjak <ubizjak at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Joel Sherrill <joel dot sherrill at oarcorp dot com>
- Date: Thu, 27 Mar 2008 09:58:33 -0700
- Subject: Re: [PATCH, testsuite, v2]: RFA: Fix gcc.c-torture/execute/multi-ix.c stack corruption for small STACK_SIZEs
- References: <47EAB523.107@gmail.com> <5787cf470803270418h2a8e28bag21040200016430b@mail.gmail.com>
- Reply-to: janis187 at us dot ibm dot com
On Thu, 2008-03-27 at 12:18 +0100, Uros Bizjak wrote:
> On Wed, Mar 26, 2008 at 9:42 PM, Uros Bizjak <ubizjak@gmail.com> wrote:
>
> 2008-03-26 Uros Bizjak <ubizjak@gmail.com>
>
> * gcc.c-torture/execute/multi-ix.c: Limit CHUNK size between
> 1 and 500.
> (main): Exit early for CHUNK less than 40 to avoid stack corruption.
>
> Patch was tested on x86_64-pc-linux-gnu.
>
> This revision handles signed/unsigned promotion correctly. If there
> are no objections, I plan to commit this revision tomorrow.
It looks fine to me.
Janis