flow.c (clear_log_links): Remove unused variable.
authorAndreas Jaeger <aj@gcc.gnu.org>
Fri, 26 Oct 2001 09:20:01 +0000 (11:20 +0200)
committerAndreas Jaeger <aj@gcc.gnu.org>
Fri, 26 Oct 2001 09:20:01 +0000 (11:20 +0200)
* flow.c (clear_log_links): Remove unused variable.
* cfgcleanup.c (cleanup_cfg): Likewise.

From-SVN: r46537

gcc/ChangeLog
gcc/cfgcleanup.c
gcc/flow.c

index 4fc1b1e337ae1aa3f0055dc973d73817f1c7b8a0..2441efd579621fc00a003267da22cb693dc1ad37 100644 (file)
@@ -1,3 +1,8 @@
+2001-10-26  Andreas Jaeger  <aj@suse.de>
+
+       * flow.c (clear_log_links): Remove unused variable.
+       * cfgcleanup.c (cleanup_cfg): Likewise.
+
 2001-10-26  Alexandre Oliva  <aoliva@redhat.com>
 
        * tree-inline.c (remap_decl): Don't copy size and size_unit here.
 
        * output.h (default_exception_section, default_eh_frame_section):
        Move prototypes outside of macro guard.
-       
+
        * crtstuff.c: Fix #endif comment.
 
 Thu Oct 25 12:21:58 2001  Jeffrey A Law  (law@cygnus.com)
 
-       * doc/md.texi (movMM): Clarify semantics of storing into a 
+       * doc/md.texi (movMM): Clarify semantics of storing into a
        non-paradoxical SUBREG.
 
 2001-10-25  Zack Weinberg  <zack@codesourcery.com>
@@ -274,11 +279,11 @@ Tue Oct 23 13:05:53 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
        * c-common.c (warn_div_by_zero): New.
        * c-common.h (warn_div_by_zero): New.
        * c-decl.c (c_decode_option): Take it on the command line.
-       * c-typeck.c (build_binary_op): Warn about division by zero.
+       * c-typeck.c (build_binary_op): Warn about division by zero.
        * doc/invoke.texi: Document the new command line option, fix
        documentation of -Wmultichar.
-       * testsuite/gcc.dg/divbyzero.c: New tests.
-       * testsuite/gcc.dg/noncompile/20010524-1.c: Update.
+       * testsuite/gcc.dg/divbyzero.c: New tests.
+       * testsuite/gcc.dg/noncompile/20010524-1.c: Update.
 
 Tue Oct 23 15:30:23 CEST 2001  Jan Hubicka  <jh@suse.cz>
 
index c53e69579efdd11c6caaf8ce6cc5b8472b9a0693..cdf2b8a8fef483f9471dc7cb59c4e290c1afd89f 100644 (file)
@@ -1302,7 +1302,6 @@ bool
 cleanup_cfg (mode)
      int mode;
 {
-  int i;
   bool changed = false;
 
   timevar_push (TV_CLEANUP_CFG);
index dc305b606f56428d6cbbce0947ee24e6a7a8d566..04b39130dbdd63316d2d6273611626bba2104732 100644 (file)
@@ -4110,7 +4110,6 @@ clear_log_links (blocks)
 
   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 @@ clear_log_links (blocks)
     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))