From d0225025e0d9f4c59a8fa724598ba6ae056e0684 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 16 Nov 2001 21:15:29 +0100 Subject: [PATCH] cfglayout.c (fixup_fallthru_exit_predecesor): Make void, rename to .... * cfglayout.c (fixup_fallthru_exit_predecesor): Make void, rename to .... (fixup_fallthru_exit_predecessor): ... this. Change callers and prototype. From-SVN: r47098 --- gcc/ChangeLog | 11 +++++++++-- gcc/cfglayout.c | 14 +++++++------- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4a593c4917b..7d74ad1b144 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2001-11-16 Andreas Jaeger + + * cfglayout.c (fixup_fallthru_exit_predecesor): Make void, rename + to .... + (fixup_fallthru_exit_predecessor): ... this. + Change callers and prototype. + 2001-11-16 Bernd Schmidt * config/i386/i386.c (ix86_expand_sse_comi): Generate setcc by @@ -83,10 +90,10 @@ Fri Nov 16 06:37:05 2001 Andreas Tobler 2001-11-15 Stan Shebs * expr.c (expand_expr, case COMPONENT_REF): Fix variable ref. - + 2001-11-16 Bryce McKinlay - * config/s390/s390.md: Remove ALIGN arg from emit_cmp_and_jump_insns + * config/s390/s390.md: Remove ALIGN arg from emit_cmp_and_jump_insns call. * config/i386/i386.md: Likewise. diff --git a/gcc/cfglayout.c b/gcc/cfglayout.c index d93d44f7fed..1907bafc191 100644 --- a/gcc/cfglayout.c +++ b/gcc/cfglayout.c @@ -1,5 +1,5 @@ /* Basic block reordering routines for the GNU compiler. - Copyright (C) 2000 Free Software Foundation, Inc. + Copyright (C) 2000, 2001 Free Software Foundation, Inc. This file is part of GCC. @@ -110,7 +110,7 @@ static rtx get_next_bb_note PARAMS ((rtx)); static rtx get_prev_bb_note PARAMS ((rtx)); void verify_insn_chain PARAMS ((void)); -static basic_block fixup_fallthru_exit_predecesor PARAMS ((void)); +static void fixup_fallthru_exit_predecessor PARAMS ((void)); /* Skip over inter-block insns occurring after BB which are typically associated with BB (e.g., barriers). If there are any such insns, @@ -1043,10 +1043,10 @@ verify_insn_chain () } } -/* The block falling trought to exit must be last in the reordered - chain. Make it happen so. */ -static basic_block -fixup_fallthru_exit_predecesor () +/* The block falling through to exit must be the last one in the + reordered chain. Ensure that this condition is met. */ +static void +fixup_fallthru_exit_predecessor () { edge e; basic_block bb = NULL; @@ -1087,7 +1087,7 @@ cfg_layout_initialize () void cfg_layout_finalize () { - fixup_fallthru_exit_predecesor (); + fixup_fallthru_exit_predecessor (); fixup_reorder_chain (); #ifdef ENABLE_CHECKING verify_insn_chain (); -- 2.30.2