From d872fdb903bd36193a0a94e0e877e2e9957d0d76 Mon Sep 17 00:00:00 2001
From: danglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Sat, 6 Apr 2002 22:10:54 +0000
Subject: [PATCH] 	* reorg.c (dbr_schedule): Don't reposition prologue
 and epilogue notes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51971 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/ChangeLog | 5 +++++
 gcc/reorg.c   | 4 ----
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 548caa9c81f7..ec6ed8025cf5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2002-04-06  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+	PR middle-end/6180
+	* reorg.c (dbr_schedule): Don't reposition prologue and epilogue notes.
+
 2002-04-06  Mark Mitchell  <mark@codesourcery.com>
 
 	PR opt/5120
diff --git a/gcc/reorg.c b/gcc/reorg.c
index 6fc73f1413b7..984ec926aaea 100644
--- a/gcc/reorg.c
+++ b/gcc/reorg.c
@@ -3686,10 +3686,6 @@ dbr_schedule (first, file)
   /* It is not clear why the line below is needed, but it does seem to be.  */
   unfilled_firstobj = (rtx *) obstack_alloc (&unfilled_slots_obstack, 0);
 
-  /* Reposition the prologue and epilogue notes in case we moved the
-     prologue/epilogue insns.  */
-  reposition_prologue_and_epilogue_notes (first);
-
   if (file)
     {
       int i, j, need_comma;
-- 
GitLab