aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@gcc.gnu.org>2001-11-16 21:15:29 +0100
committerAndreas Jaeger <aj@gcc.gnu.org>2001-11-16 21:15:29 +0100
commitd0225025e0d9f4c59a8fa724598ba6ae056e0684 (patch)
tree2501d5dda3f5590e18e0969fd051c602eba3e9cc /gcc
parentf6b733ed1f3be3a7a4648bacd62fab0dfcb1f191 (diff)
downloadgcc-d0225025e0d9f4c59a8fa724598ba6ae056e0684.zip
gcc-d0225025e0d9f4c59a8fa724598ba6ae056e0684.tar.gz
gcc-d0225025e0d9f4c59a8fa724598ba6ae056e0684.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog11
-rw-r--r--gcc/cfglayout.c14
2 files changed, 16 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4a593c4..7d74ad1 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 d93d44f..1907baf 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 ();