diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1994-01-17 13:37:52 -0800 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1994-01-17 13:37:52 -0800 |
commit | ced21a3242e2d733a6554fea7e89b6cfd35eb47e (patch) | |
tree | 4d6f98a618b9080a52bcb790a8140b97dd0b347a /gcc | |
parent | 23729c44ab19df248f33c85c262dd7712b858f6c (diff) | |
download | gcc-ced21a3242e2d733a6554fea7e89b6cfd35eb47e.zip gcc-ced21a3242e2d733a6554fea7e89b6cfd35eb47e.tar.gz gcc-ced21a3242e2d733a6554fea7e89b6cfd35eb47e.tar.bz2 |
(xcoffout_begin_block): Don't emit a .bb for the function level scope.
(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.
From-SVN: r6399
Diffstat (limited to 'gcc')
-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 568d443..8ed47bb 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). |