Commit ced21a32 by Jim Wilson

(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
parent 23729c44
...@@ -390,7 +390,11 @@ xcoffout_begin_block (file, line, n) ...@@ -390,7 +390,11 @@ xcoffout_begin_block (file, line, n)
{ {
tree decl = current_function_decl; 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; do_block = n;
next_block_number = 0; next_block_number = 0;
...@@ -405,7 +409,8 @@ xcoffout_end_block (file, line, n) ...@@ -405,7 +409,8 @@ xcoffout_end_block (file, line, n)
int line; int line;
int n; int n;
{ {
ASM_OUTPUT_LBE (file, line, n); if (n != 1)
ASM_OUTPUT_LBE (file, line, n);
} }
/* Called at beginning of function (before prologue). /* Called at beginning of function (before prologue).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment