This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] A small fix for IRA


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
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]