OSDN Git Service

PR rtl-optimization/34012
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Nov 2007 13:02:25 +0000 (13:02 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Nov 2007 13:02:25 +0000 (13:02 +0000)
commit91bd874e0fada88f33f2618061e20804adbd3239
tree2787d0ea1d32fb11d9a9124a3793a190bc159486
parent0565d6c88151e7f00949d0d630a2577169c6c0df
PR rtl-optimization/34012
* fwprop.c (try_fwprop_subst): Do not replace if the new
SET_SRC has a higher cost than the old one.

* gcc.target/i386/pr34012.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130043 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fwprop.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr34012.c [new file with mode: 0644]