From 0bed5284051aa8122fa58d9450c0915246f1d44e Mon Sep 17 00:00:00 2001 From: wilson Date: Mon, 17 Jan 1994 21:37:52 +0000 Subject: (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 --- gcc/xcoffout.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'gcc/xcoffout.c') 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). -- cgit v1.2.1