diff mbox

Remove couple of dead lines in reload_cse_simplify

Message ID 3901202.BU2M3nnXKY@polaris
State New
Headers show

Commit Message

Eric Botcazou Feb. 1, 2016, 11:04 a.m. UTC
They are not flagged by the compiler, albeit obviously dead, but static 
analyzers will probably not miss them.

Tested on x86_64-suse-linux, applied on the mainline.


2016-02-01  Eric Botcazou  <ebotcazou@adacore.com>

	* postreload.c (reload_cse_simplify): Remove dead code.
diff mbox

Patch

Index: postreload.c
===================================================================
--- postreload.c	(revision 232976)
+++ postreload.c	(working copy)
@@ -106,10 +106,6 @@  reload_cse_simplify (rtx_insn *insn, rtx
 
       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.  */