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]

Re: cc register usage on i386/2.96


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~

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