]> gcc.gnu.org Git - gcc.git/commitdiff
function.c (thread_prologue_and_epilogue_insns): Don't delete the edge from a block...
authorClinton Popetz <cpopetz@cygnus.com>
Thu, 10 Feb 2000 00:20:41 +0000 (00:20 +0000)
committerClinton Popetz <cpopetz@gcc.gnu.org>
Thu, 10 Feb 2000 00:20:41 +0000 (19:20 -0500)
* function.c (thread_prologue_and_epilogue_insns): Don't delete
the edge from a block that both jumps and falls through to the
fallthru block.

From-SVN: r31878

gcc/ChangeLog
gcc/function.c

index 8c9a4a9cca8572f6a86040688e0eb4230068b833..42cc6b6e9e860729aeb332dab3ed4230444371d5 100644 (file)
@@ -1,3 +1,9 @@
+2000-02-09  Clinton Popetz  <cpopetz@cygnus.com>
+
+       * function.c (thread_prologue_and_epilogue_insns): Don't delete
+       the edge from a block that both jumps and falls through to the
+       fallthru block.
+
 2000-02-09  Scott Bambrough  <scottb@netwinder.org>
 
         * config/arm/arm.md (movsi): In PIC mode, make sure that a
index 8b97be070046db653b214c72911f27ef330621a0..f9d27886a86b22d69701f5159c267f9095d037cc 100644 (file)
@@ -6727,6 +6727,12 @@ thread_prologue_and_epilogue_insns (f)
                    continue;
                  if (JUMP_LABEL (jump))
                    LABEL_NUSES (JUMP_LABEL (jump))--;
+                                 
+                 /* If this block has only one successor, it both jumps
+                    and falls through to the fallthru block, so we can't
+                    delete the edge.  */
+                 /*if (bb->succ->succ_next == NULL)
+                   continue;*/
                }
              else
                continue;
This page took 0.078962 seconds and 5 git commands to generate.