Commit 47a3c2dc by Richard Sandiford Committed by Richard Sandiford

dbxout.c (dbxout_source_line): Move declaration of begin_label to the block that needs it.

	* dbxout.c (dbxout_source_line): Move declaration of begin_label to
	the block that needs it.

From-SVN: r89694
parent 3da3d587
2004-10-27 Richard Sandiford <rsandifo@redhat.com>
* dbxout.c (dbxout_source_line): Move declaration of begin_label to
the block that needs it.
2004-10-27 Zack Weinberg <zack@codesourcery.com> 2004-10-27 Zack Weinberg <zack@codesourcery.com>
* dbxout.c (dbxout_finish_complex_stabs): Mark 'line' variable * dbxout.c (dbxout_finish_complex_stabs): Mark 'line' variable
......
...@@ -1234,8 +1234,6 @@ dbxout_begin_prologue (unsigned int lineno, const char *filename) ...@@ -1234,8 +1234,6 @@ dbxout_begin_prologue (unsigned int lineno, const char *filename)
static void static void
dbxout_source_line (unsigned int lineno, const char *filename) dbxout_source_line (unsigned int lineno, const char *filename)
{ {
const char *begin_label = XSTR(XEXP(DECL_RTL(current_function_decl), 0), 0);
dbxout_source_file (filename); dbxout_source_file (filename);
#ifdef DBX_OUTPUT_SOURCE_LINE #ifdef DBX_OUTPUT_SOURCE_LINE
...@@ -1243,9 +1241,10 @@ dbxout_source_line (unsigned int lineno, const char *filename) ...@@ -1243,9 +1241,10 @@ dbxout_source_line (unsigned int lineno, const char *filename)
#else #else
if (DBX_LINES_FUNCTION_RELATIVE) if (DBX_LINES_FUNCTION_RELATIVE)
{ {
rtx begin_label = XEXP (DECL_RTL (current_function_decl), 0);
dbxout_begin_stabn_sline (lineno); dbxout_begin_stabn_sline (lineno);
dbxout_stab_value_internal_label_diff ("LM", &dbxout_source_line_counter, dbxout_stab_value_internal_label_diff ("LM", &dbxout_source_line_counter,
begin_label); XSTR (begin_label, 0));
} }
else else
......
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