* dbxout.c (dbxout_function_end): Emit Lscope label always.
From-SVN: r95326
This commit is contained in:
parent
5dd906880f
commit
4a22dcdd52
|
@ -1,3 +1,7 @@
|
||||||
|
2005-02-21 Ulrich Weigand <uweigand@de.ibm.com>
|
||||||
|
|
||||||
|
* dbxout.c (dbxout_function_end): Emit Lscope label always.
|
||||||
|
|
||||||
2005-02-21 Richard Guenther <rguenth@gcc.gnu.org>
|
2005-02-21 Richard Guenther <rguenth@gcc.gnu.org>
|
||||||
|
|
||||||
PR bootstrap/13770
|
PR bootstrap/13770
|
||||||
|
|
18
gcc/dbxout.c
18
gcc/dbxout.c
|
@ -907,15 +907,6 @@ dbxout_function_end (tree decl)
|
||||||
{
|
{
|
||||||
char lscope_label_name[100];
|
char lscope_label_name[100];
|
||||||
|
|
||||||
/* The N_FUN tag at the end of the function is a GNU extension,
|
|
||||||
which may be undesirable, and is unnecessary if we do not have
|
|
||||||
named sections. */
|
|
||||||
if (!use_gnu_debug_info_extensions
|
|
||||||
|| NO_DBX_FUNCTION_END
|
|
||||||
|| !targetm.have_named_sections
|
|
||||||
|| DECL_IGNORED_P (decl))
|
|
||||||
return;
|
|
||||||
|
|
||||||
/* The Lscope label must be emitted even if we aren't doing anything
|
/* The Lscope label must be emitted even if we aren't doing anything
|
||||||
else; dbxout_block needs it. */
|
else; dbxout_block needs it. */
|
||||||
function_section (current_function_decl);
|
function_section (current_function_decl);
|
||||||
|
@ -927,6 +918,15 @@ dbxout_function_end (tree decl)
|
||||||
targetm.asm_out.internal_label (asm_out_file, "Lscope", scope_labelno);
|
targetm.asm_out.internal_label (asm_out_file, "Lscope", scope_labelno);
|
||||||
scope_labelno++;
|
scope_labelno++;
|
||||||
|
|
||||||
|
/* The N_FUN tag at the end of the function is a GNU extension,
|
||||||
|
which may be undesirable, and is unnecessary if we do not have
|
||||||
|
named sections. */
|
||||||
|
if (!use_gnu_debug_info_extensions
|
||||||
|
|| NO_DBX_FUNCTION_END
|
||||||
|
|| !targetm.have_named_sections
|
||||||
|
|| DECL_IGNORED_P (decl))
|
||||||
|
return;
|
||||||
|
|
||||||
/* By convention, GCC will mark the end of a function with an N_FUN
|
/* By convention, GCC will mark the end of a function with an N_FUN
|
||||||
symbol and an empty string. */
|
symbol and an empty string. */
|
||||||
#ifdef DBX_OUTPUT_NFUN
|
#ifdef DBX_OUTPUT_NFUN
|
||||||
|
|
Loading…
Reference in New Issue