simplify-rtx.c (simplify_replace_rtx): Avoid allocating duplicate RTL nodes.
authorRoger Sayle <roger@eyesopen.com>
Sun, 26 Oct 2003 01:31:02 +0000 (01:31 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Sun, 26 Oct 2003 01:31:02 +0000 (01:31 +0000)
commit077a148bf5d7da017005caa18faccc7976704c79
tree9ec44bf0da139f914f0a549eef8e9cf97ddc342d
parent6cadb6e3750d6e957e70cd806d89b13775b12a1b
simplify-rtx.c (simplify_replace_rtx): Avoid allocating duplicate RTL nodes.

* simplify-rtx.c (simplify_replace_rtx): Avoid allocating duplicate
RTL nodes.  If an operator's operands are unchanged, return the
original argument unchanged.

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