Documenation in ifcvt.c

Richard Kenner kenner@vlsi1.ultra.nyu.edu
Wed Jul 16 00:19:00 GMT 2003


    See Jan's patches on this subject.  IIRC they're now resolved on
    mainline, but you'd not want to duplicate effort for an older branch.

The bug I'm looking at is present on the mainline and is fixed by the
following (so far untested) patch:

*** ifcvt.c	6 Jul 2003 06:15:35 -0000	1.122
--- ifcvt.c	16 Jul 2003 00:04:51 -0000
*************** noce_emit_store_flag (struct noce_if_inf
*** 638,643 ****
      return NULL_RTX;
  
!   return emit_store_flag (x, code, XEXP (cond, 0),
! 			  XEXP (cond, 1), VOIDmode,
  			  (code == LTU || code == LEU
  			   || code == GEU || code == GTU), normalize);
--- 638,643 ----
      return NULL_RTX;
  
!   return emit_store_flag (x, code, copy_rtx (XEXP (cond, 0)),
! 			  copy_rtx (XEXP (cond, 1)), VOIDmode,
  			  (code == LTU || code == LEU
  			   || code == GEU || code == GTU), normalize);



More information about the Gcc mailing list