diff options
author | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-01-17 21:37:52 +0000 |
---|---|---|
committer | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-01-17 21:37:52 +0000 |
commit | 0bed5284051aa8122fa58d9450c0915246f1d44e (patch) | |
tree | 4d6f98a618b9080a52bcb790a8140b97dd0b347a /gcc/xcoffout.c | |
parent | 8fe812c4f74fe6c1b9f8a7388f301a6017527b45 (diff) | |
download | gcc-0bed5284051aa8122fa58d9450c0915246f1d44e.tar.gz |
(xcoffout_begin_block): Don't emit a .bb for the
function level scope.
(xcoffout_end_block): Don't emit a .eb for the function level
scope.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6399 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/xcoffout.c')
-rw-r--r-- | gcc/xcoffout.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gcc/xcoffout.c b/gcc/xcoffout.c index 568d443a9e8..8ed47bbabf8 100644 --- a/gcc/xcoffout.c +++ b/gcc/xcoffout.c @@ -390,7 +390,11 @@ xcoffout_begin_block (file, line, n) { tree decl = current_function_decl; - ASM_OUTPUT_LBB (file, line, n); + + /* The IBM AIX compiler does not emit a .bb for the function level scope, + so we avoid it here also. */ + if (n != 1) + ASM_OUTPUT_LBB (file, line, n); do_block = n; next_block_number = 0; @@ -405,7 +409,8 @@ xcoffout_end_block (file, line, n) int line; int n; { - ASM_OUTPUT_LBE (file, line, n); + if (n != 1) + ASM_OUTPUT_LBE (file, line, n); } /* Called at beginning of function (before prologue). |