This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Documenation in ifcvt.c
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: rth at redhat dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 15 Jul 03 20:11:56 EDT
- Subject: Re: Documenation in ifcvt.c
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);