[Bug rtl-optimization/18992] delete_trivially_dead_insns made ineffective for two-address targets
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Jul 28 11:56:00 GMT 2005
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-28 11:56 -------
Subject: Bug 18992
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: amylaar@gcc.gnu.org 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 <dave.anglin@nrc-cnrc.gc.ca>
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=18992
More information about the Gcc-bugs
mailing list