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]

Remove some unused variables



I've committed this as obvious after bootstrapping/regtesting on
i686-linux,

Andreas

2001-10-26  Andreas Jaeger  <aj@suse.de>

	* flow.c (clear_log_links): Remove unused variable.
	* cfgcleanup.c (cleanup_cfg): Likewise.


============================================================
Index: gcc/cfgcleanup.c
--- gcc/cfgcleanup.c	2001/10/23 13:34:23	1.10
+++ gcc/cfgcleanup.c	2001/10/26 05:44:28
@@ -1302,7 +1302,6 @@
 cleanup_cfg (mode)
      int mode;
 {
-  int i;
   bool changed = false;
 
   timevar_push (TV_CLEANUP_CFG);
============================================================
Index: gcc/flow.c
--- gcc/flow.c	2001/10/22 07:09:53	1.486
+++ gcc/flow.c	2001/10/26 05:44:30
@@ -4110,7 +4110,6 @@
 
   if (!blocks)
     {
-      rtx insn;
       for (insn = get_insns (); insn; insn = NEXT_INSN (insn))
 	if (INSN_P (insn))
 	  free_INSN_LIST_list (&LOG_LINKS (insn));
@@ -4119,7 +4118,7 @@
     EXECUTE_IF_SET_IN_SBITMAP (blocks, 0, i,
       {
 	basic_block bb = BASIC_BLOCK (i);
-	rtx insn;
+
 	for (insn = bb->head; insn != NEXT_INSN (bb->end);
 	     insn = NEXT_INSN (insn))
 	  if (INSN_P (insn))

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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