From 044c7691c93b4bbe794f90a1d364180de61f4854 Mon Sep 17 00:00:00 2001 From: aj Date: Fri, 26 Oct 2001 09:20:01 +0000 Subject: [PATCH] * flow.c (clear_log_links): Remove unused variable. * cfgcleanup.c (cleanup_cfg): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46537 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 15 ++++++++++----- gcc/cfgcleanup.c | 1 - gcc/flow.c | 3 +-- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4fc1b1e..2441efd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-10-26 Andreas Jaeger + + * flow.c (clear_log_links): Remove unused variable. + * cfgcleanup.c (cleanup_cfg): Likewise. + 2001-10-26 Alexandre Oliva * tree-inline.c (remap_decl): Don't copy size and size_unit here. @@ -42,12 +47,12 @@ * 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 @@ -274,11 +279,11 @@ Tue Oct 23 13:05:53 2001 Richard Kenner * 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 diff --git a/gcc/cfgcleanup.c b/gcc/cfgcleanup.c index c53e695..cdf2b8a 100644 --- a/gcc/cfgcleanup.c +++ b/gcc/cfgcleanup.c @@ -1302,7 +1302,6 @@ bool cleanup_cfg (mode) int mode; { - int i; bool changed = false; timevar_push (TV_CLEANUP_CFG); diff --git a/gcc/flow.c b/gcc/flow.c index dc305b6..04b3913 100644 --- a/gcc/flow.c +++ b/gcc/flow.c @@ -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)) -- 2.7.4