summaryrefslogtreecommitdiff
path: root/gcc/postreload.c
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2016-02-01 11:04:22 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2016-02-01 11:04:22 +0000
commit34486d84bbf6a1c4cf6d2d81cb72920da7d7f871 (patch)
tree29673b71a398fff3efd086101cd0259dba5699b7 /gcc/postreload.c
parente3882c44aee13158877d05c9c571bc399adb0f59 (diff)
downloadgcc-34486d84bbf6a1c4cf6d2d81cb72920da7d7f871.tar.gz
* postreload.c (reload_cse_simplify): Remove dead code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233034 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/postreload.c')
-rw-r--r--gcc/postreload.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/postreload.c b/gcc/postreload.c
index 69a18684fd0..66f691b88d9 100644
--- a/gcc/postreload.c
+++ b/gcc/postreload.c
@@ -106,10 +106,6 @@ reload_cse_simplify (rtx_insn *insn, rtx testreg)
if (!count && reload_cse_noop_set_p (body))
{
- rtx value = SET_DEST (body);
- if (REG_P (value)
- && ! REG_FUNCTION_VALUE_P (value))
- value = 0;
if (check_for_inc_dec (insn))
delete_insn_and_edges (insn);
/* We're done with this insn. */