OSDN Git Service

PR rtl-optimization/18992
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Jul 2005 11:55:56 +0000 (11:55 +0000)
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Jul 2005 11:55:56 +0000 (11:55 +0000)
commite6bf10d8d463cd380ebc7f02e2821f39f5e500fd
treecf8e76465811b2ce0ddc559b964583c5cff6d9ee
parent27aabb04d02120672d953b0151a81aece6b2408a
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102478 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cse.c