]> gcc.gnu.org Git - gcc.git/commitdiff
function.c (number_blocks): Reset next_block_index based on what debugging format...
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>
Mon, 28 Feb 2000 12:41:36 +0000 (12:41 +0000)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 28 Feb 2000 12:41:36 +0000 (07:41 -0500)
* function.c (number_blocks): Reset next_block_index based on
what debugging format is used, not what is defined.

From-SVN: r32235

gcc/ChangeLog
gcc/function.c

index 66e9939065d7e37822267440c5e3d47d6153e624..d62d57deb649378a75c3c33f1f8b8eb29b3fe7fc 100644 (file)
@@ -5,6 +5,9 @@ Mon Feb 28 13:07:19 MET 2000  Jan Hubicka  <jh@suse.cz>
 
 Mon Feb 28 07:03:27 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
 
+       * function.c (number_blocks): Reset next_block_index based on
+       what debugging format is used, not what is defined.
+       
        * lcm.c: Minor reformatting throughout.
        (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
        
index ce5fef21e29aaee9c50f203d50ee8b87def0cb6d..78c5ab85ef13fe3f3af54629417aef432e8cc319 100644 (file)
@@ -5668,7 +5668,8 @@ number_blocks (fn)
      from 1 within each function, rather than keeping a running
      count.  */
 #if defined (SDB_DEBUGGING_INFO) || defined (XCOFF_DEBUGGING_INFO)
-  next_block_index = 1;
+  if (write_symbols == SDB_DEBUG || write_symbols == XCOFF_DEBUG)
+    next_block_index = 1;
 #endif
 
   block_vector = get_block_vector (DECL_INITIAL (fn), &n_blocks);
This page took 0.085948 seconds and 5 git commands to generate.