diff options
author | aj <aj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-16 20:15:29 +0000 |
---|---|---|
committer | aj <aj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-16 20:15:29 +0000 |
commit | ad70d3b0cdc879e88e15c357e0524811441cc613 (patch) | |
tree | 2501d5dda3f5590e18e0969fd051c602eba3e9cc | |
parent | 9912f451af752aa8f28138b357ba97fa77eb7ece (diff) | |
download | gcc-ad70d3b0cdc879e88e15c357e0524811441cc613.tar.gz |
* cfglayout.c (fixup_fallthru_exit_predecesor): Make void, rename
to ....
(fixup_fallthru_exit_predecessor): ... this.
Change callers and prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47098 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 11 | ||||
-rw-r--r-- | 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 <aj@suse.de> + + * cfglayout.c (fixup_fallthru_exit_predecesor): Make void, rename + to .... + (fixup_fallthru_exit_predecessor): ... this. + Change callers and prototype. + 2001-11-16 Bernd Schmidt <bernds@redhat.com> * config/i386/i386.c (ix86_expand_sse_comi): Generate setcc by @@ -83,10 +90,10 @@ Fri Nov 16 06:37:05 2001 Andreas Tobler <a.tobler@schweiz.ch> 2001-11-15 Stan Shebs <shebs@apple.com> * expr.c (expand_expr, case COMPONENT_REF): Fix variable ref. - + 2001-11-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz> - * 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 (); |