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: Performance regression


> The above transformation is also valid (for C and C++) if nothing is known
> about the upper bound, as for the equalitity of p1 and p2 to not hold it
> is necessary that a wrap around happens in one of the increments, which is
> undefined for signed ints.

I think the standard just says that it's implementation defined, and then 
mutters something about the implementation having to do something 
reasonable...

R.


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