------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-28 11:56 ------- Subject: Bug 12142
CVSROOT: /cvs/gcc Module name: gcc Changes by: [EMAIL PROTECTED] 2005-07-28 11:55:58 Modified files: gcc : ChangeLog cse.c Log message: PR rtl-optimization/18992 Back out this patch: 2003-10-08 John David Anglin <[EMAIL PROTECTED]> PR optimization/12142 * cse.c (count_reg_usage): In a SET with a REG SET_DEST, count the uses of the register in the SET_SRC. Remove unnecessary argument. Replace it with this: * cse.c (count_reg_usage): In INSN, JUMP_INSN and CALL_INSN cases, if flag_non_call_exceptions is set and the insn may trap, pass pc_rtx as dest for recursion. In SET_SRC part of SET case, if dest is already set, pass it down unchanged. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.9579&r2=2.9580 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cse.c.diff?cvsroot=gcc&r1=1.357&r2=1.358 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12142