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: Tweak to gengtype


Geoffrey Keating <geoffk@apple.com> wrote:

>> How do you prove that x->num_uses is not 0xFFFFFFFF (or similar)?
> 
> You don't have to, when 'i0' becomes 0xFFFFFFFF then you'll have
> 0xFFFFFFFF < 0xFFFFFFFF which is false, so the loop will terminate.

Ah sure, silly me, I was confused.

Giovanni Bajo


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