This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Fix array overflow in gcc.dg/vect/no-vfa-vect-depend-2.c
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Paul Pluzhnikov <ppluzhnikov at google dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 19 Feb 2014 07:13:16 +0100
- Subject: Re: [patch] Fix array overflow in gcc.dg/vect/no-vfa-vect-depend-2.c
- Authentication-results: sourceware.org; auth=none
- References: <ye6qwqhagysd dot fsf at elbrus2 dot mtv dot corp dot google dot com> <20140210080910 dot GF20378 at tucnak dot redhat dot com> <CALoOobMaqMNF13=hGkNZb3sEVSqy3mDfqVt2KxETqiOgJu5nHA at mail dot gmail dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Tue, Feb 18, 2014 at 06:24:17PM -0800, Paul Pluzhnikov wrote:
> Jakub,
>
> On Mon, Feb 10, 2014 at 12:09 AM, Jakub Jelinek <jakub@redhat.com> wrote:
> > On Tue, Feb 04, 2014 at 04:59:14PM -0800, Paul Pluzhnikov wrote:
> >> gcc/testsuite/ChangeLog:
> >>
> >> 2014-02-04 Paul Pluzhnikov <ppluzhnikov@google.com>
> >>
> >> * gcc.dg/vect/no-vfa-vect-depend-2.c (main1): Fix buffer
> >> overflow.
> >
> > Ok, thanks.
>
> Sorry, did you vouch for this:
>
> - for (i = N - 1; i >= 0; i--)
> + for (i = N - 2; i >= 0; i--)
This one.
Jakub