simplify-rtx.c (simplify_replace_rtx): Use rtx_equal_p for all OLD_RTXes, not just...
authorRichard Sandiford <rdsandiford@googlemail.com>
Sun, 11 Oct 2009 19:09:01 +0000 (19:09 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Sun, 11 Oct 2009 19:09:01 +0000 (19:09 +0000)
commitc47d1dbaeb4f5ed3d09d1f440fb3a513e8ad73d3
tree0af59fd9a7957f8015a9a3583d7558f62d298e02
parent3c6d5e12dd0ffd98659bae850681c17e80d883ec
simplify-rtx.c (simplify_replace_rtx): Use rtx_equal_p for all OLD_RTXes, not just REGs.

gcc/
* simplify-rtx.c (simplify_replace_rtx): Use rtx_equal_p for
all OLD_RTXes, not just REGs.  Use copy_rtx to create the
replacement value.

From-SVN: r152646
gcc/ChangeLog
gcc/simplify-rtx.c