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: [Committed] Fix simple comment typo in tree-ssa-alias.c


On Tue, Aug 4, 2009 at 4:19 PM, Paolo Bonzini<bonzini@gnu.org> wrote:
> On 08/05/2009 12:52 AM, Richard Guenther wrote:
>>
>> On Wed, Aug 5, 2009 at 12:42 AM, Andrew Pinski<pinskia@gmail.com> Âwrote:
>>>
>>> When I was adding some code to tree-ssa-alias.c I noticed that there
>>> were some simple typos dealing with [xyz[ when they should have been
>>> [xyz].
>>> I committed this comment fix as obvious.
>>
>> These weren't typos but [a,b[ is equal to [a,b-1].
>
> Right, another common notation is [a,b). ÂAndrew, would this one have been
> confusing too?

And here is the patch which converts them to open intervals instead.

Thanks,
Andrew Pinski

ChangeLog:
* tree-ssa-alias.c: Fix intervals to use [) syntax.

Attachment: reallyfixcomments.diff.txt
Description: Text document


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