sched-ebb.c (schedule_ebb): Supply the correct starting block number to save_line_notes.
authorRichard Henderson <rth@redhat.com>
Thu, 8 May 2003 00:18:48 +0000 (17:18 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 8 May 2003 00:18:48 +0000 (17:18 -0700)
        * sched-ebb.c (schedule_ebb): Supply the correct starting
        block number to save_line_notes.

From-SVN: r66588

gcc/ChangeLog
gcc/sched-ebb.c

index 517854ac5aabedf93e11ef36d888cc426a46dbf9..e61e92e5f4b2e4096e58bca4030f68db2bd4c348 100644 (file)
@@ -1,3 +1,8 @@
+2003-05-07  Richard Henderson  <rth@redhat.com>
+
+       * sched-ebb.c (schedule_ebb): Supply the correct starting
+       block number to save_line_notes.
+
 2003-05-07  Richard Henderson  <rth@redhat.com>
 
        * toplev.c (enum dump_file_index): Swap DFI_ce3, DFI_bbro.
index ebf09829e68005004e0f1a8315488a3bcdf3c5c1..890a816663bd57705ab98a43c27ce68930371396 100644 (file)
@@ -514,7 +514,7 @@ schedule_ebb (head, tail)
 
   if (write_symbols != NO_DEBUG)
     {
-      save_line_notes (0, head, tail);
+      save_line_notes (first_bb->index, head, tail);
       rm_line_notes (head, tail);
     }