cc register usage on i386/2.96

Richard Henderson rth@cygnus.com
Tue Aug 29 10:09:00 GMT 2000


On Tue, Aug 29, 2000 at 06:41:59PM +0200, Jan Hubicka wrote:
> The relevant piece of code is:
>           /* We used to optimize signed comparisons against zero, but that
>              was incorrect.  Unsigned comparisons against zero (GTU, LEU)
>              arrive here as equality comparisons, or (GEU, LTU) are
>              optimized away.  No need to special-case them.  */

Oh, bother.  Now I remember.  See the discussion at

  http://gcc.gnu.org/ml/gcc-patches/2000-04/msg00060.html

wherein we have unsigned arithmetic and a signed comparison.


r~


More information about the Gcc-patches mailing list