function.c (number_blocks): Reset next_block_index based on what debugging format is used, not what is defined.

* function.c (number_blocks): Reset next_block_index based on
	what debugging format is used, not what is defined.

From-SVN: r32235
This commit is contained in:
Richard Kenner 2000-02-28 12:41:36 +00:00 committed by Richard Kenner
parent f4e72d6e00
commit b0e3a65853
2 changed files with 5 additions and 1 deletions

View 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> 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. * lcm.c: Minor reformatting throughout.
(reg_dies, reg_becomes_live): Properly handle multiple hard regs. (reg_dies, reg_becomes_live): Properly handle multiple hard regs.

View file

@ -5668,7 +5668,8 @@ number_blocks (fn)
from 1 within each function, rather than keeping a running from 1 within each function, rather than keeping a running
count. */ count. */
#if defined (SDB_DEBUGGING_INFO) || defined (XCOFF_DEBUGGING_INFO) #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 #endif
block_vector = get_block_vector (DECL_INITIAL (fn), &n_blocks); block_vector = get_block_vector (DECL_INITIAL (fn), &n_blocks);