summaryrefslogtreecommitdiff
path: root/gcc/cfgcleanup.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cfgcleanup.cc')
-rw-r--r--gcc/cfgcleanup.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cfgcleanup.cc b/gcc/cfgcleanup.cc
index 18047da7b24..a8b0139bb4d 100644
--- a/gcc/cfgcleanup.cc
+++ b/gcc/cfgcleanup.cc
@@ -208,7 +208,7 @@ mark_effect (rtx exp, regset nonequal)
return false;
case SET:
- if (rtx_equal_for_cselib_p (SET_DEST (exp), SET_SRC (exp)))
+ if (cselib_redundant_set_p (exp))
return false;
dest = SET_DEST (exp);
if (dest == pc_rtx)