This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFA] A small fix for IRA
- From: Richard Guenther <richard dot guenther at gmail dot com>
- To: Jie Zhang <jie at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org, "Vladimir N. Makarov" <vmakarov at redhat dot com>
- Date: Mon, 8 Mar 2010 11:12:12 +0100
- Subject: Re: [RFA] A small fix for IRA
- References: <4B945A8E.2080704@codesourcery.com>
On Mon, Mar 8, 2010 at 3:01 AM, Jie Zhang <jie@codesourcery.com> wrote:
> When working on a GCC bug, I found this. We should use `-' instead of `+',
> otherwise "use + 1" would fall out of the array boundary. Is it OK?
The name 'n_operands' suggests that use < n_operands would be
correct. So if that isn't the case there should be a comment somewhere.
But I guess Vlad should know...
Thanks,
Richard.
>
> --
> Jie Zhang
> CodeSourcery
> (650) 331-3385 x735
>