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] loop-unswitch.c: Remove src.


Hi,

Attached is a patch to remove local variable src that is set but never
used.

Bootstrapped on i686-pc-linux-gnu.  Committed as obvious.

Kazu Hirata

2005-03-07  Kazu Hirata  <kazu@cs.umass.edu>

	* loop-unswitch.c (unswitch_loop): Remove local variable src.

Index: loop-unswitch.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/loop-unswitch.c,v
retrieving revision 1.25
diff -u -d -p -r1.25 loop-unswitch.c
--- loop-unswitch.c	22 Nov 2004 12:23:53 -0000	1.25
+++ loop-unswitch.c	6 Mar 2005 14:25:56 -0000
@@ -406,7 +406,7 @@ unswitch_loop (struct loops *loops, stru
 	       rtx cond, rtx cinsn)
 {
   edge entry, latch_edge, true_edge, false_edge, e;
-  basic_block switch_bb, unswitch_on_alt, src;
+  basic_block switch_bb, unswitch_on_alt;
   struct loop *nloop;
   sbitmap zero_bitmap;
   int irred_flag, prob;
@@ -429,7 +429,6 @@ unswitch_loop (struct loops *loops, stru
   entry = loop_preheader_edge (loop);
 
   /* Make a copy.  */
-  src = entry->src;
   irred_flag = entry->flags & EDGE_IRREDUCIBLE_LOOP;
   entry->flags &= ~EDGE_IRREDUCIBLE_LOOP;
   zero_bitmap = sbitmap_alloc (2);


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