OSDN Git Service

* cfglayout.c (fixup_fallthru_exit_predecesor): Make void, rename
authoraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Nov 2001 20:15:29 +0000 (20:15 +0000)
committeraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Nov 2001 20:15:29 +0000 (20:15 +0000)
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

gcc/ChangeLog
gcc/cfglayout.c

index 4a593c4..7d74ad1 100644 (file)
@@ -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.
 
index d93d44f..1907baf 100644 (file)
@@ -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));
 \f
 /* 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 ();