This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] passes.c: Remove dead assignments.


Hi,

Attached is a patch to remove dead assignments.  I should have removed
these in my last commit.

Tested by bulding cc1.  Committed as obvious.

Kazu Hirata

2005-02-13  Kazu Hirata  <kazu@cs.umass.edu>

	* passes.c (rest_of_handle_gcse): Remove dead assignments to
	tem and tem2.

Index: passes.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/passes.c,v
retrieving revision 2.66
diff -u -d -p -r2.66 passes.c
--- passes.c	13 Feb 2005 03:49:53 -0000	2.66
+++ passes.c	13 Feb 2005 03:52:16 -0000
@@ -1051,7 +1051,6 @@ rest_of_handle_gcse (void)
      things up.  Then possibly re-run CSE again.  */
   if (tem || tem2)
     {
-      tem = tem2 = 0;
       timevar_push (TV_JUMP);
       rebuild_jump_labels (get_insns ());
       cleanup_cfg (CLEANUP_EXPENSIVE | CLEANUP_PRE_LOOP);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]