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: [patch] flow.c: Don't call sets_cc0_p if insn is NULL_RTX.


On Thu, Jul 19, 2001 at 03:03:35PM -0700, Kazu Hirata wrote:
> 	* flow.c (try_redirect_by_replacing_jump): Don't call sets_cc0_p
> 	if insn is NULL_RTX.

Hm.. I think better is to use

	reg_mentioned_p (cc0_rtx, PATTERN (insn))

on the jump insn instead of using sets_cc0_p on the
previous insn.


r~


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