[PATCH]: Constant fold comparisons against UINT_MAX

Roger Sayle roger@eyesopen.com
Tue Jan 22 09:53:00 GMT 2002


http://gcc.gnu.org/ml/gcc-patches/2002-01/msg01468.html

> > * fold-const.c (fold): Optimize unsigned comparisons against
> > UINT_MAX (and similar unsigned constants). Fixes PR opt/3640.
>
> Ok.

Could someone please apply this for me as I don't have write access
to CVS, and the helpful soul who I usually ask is travelling at the
moment.  Many thanks in advance.

Roger
--



More information about the Gcc-patches mailing list