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,6 +390,10 @@ xcoffout_begin_block (file, line, n) ...@@ -390,6 +390,10 @@ xcoffout_begin_block (file, line, n)
{ {
tree decl = current_function_decl; tree decl = current_function_decl;
/* 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); ASM_OUTPUT_LBB (file, line, n);
do_block = n; do_block = n;
...@@ -405,6 +409,7 @@ xcoffout_end_block (file, line, n) ...@@ -405,6 +409,7 @@ xcoffout_end_block (file, line, n)
int line; int line;
int n; int n;
{ {
if (n != 1)
ASM_OUTPUT_LBE (file, line, n); ASM_OUTPUT_LBE (file, line, n);
} }
......
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