diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-28 12:41:36 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-28 12:41:36 +0000 |
commit | 0eb7637961d00ea4331e9d7dd6f0a3fd33c4d83a (patch) | |
tree | c8ef1738b9a45e191d04c5008c4db0668801412d /gcc/function.c | |
parent | 9ca8d59e1e765f9feb3d71db01293ae513999fc5 (diff) | |
download | gcc-0eb7637961d00ea4331e9d7dd6f0a3fd33c4d83a.tar.gz |
* function.c (number_blocks): Reset next_block_index based on
what debugging format is used, not what is defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32235 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.c')
-rw-r--r-- | gcc/function.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/function.c b/gcc/function.c index ce5fef21e29..78c5ab85ef1 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -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); |