Commit 667732d8 by Richard Earnshaw

(dbxout_source_file): Increment source_label_number outside

of macro expansion.

From-SVN: r7737
parent fb81d7ce
...@@ -519,7 +519,8 @@ dbxout_source_file (file, filename) ...@@ -519,7 +519,8 @@ dbxout_source_file (file, filename)
output_quoted_string (file, filename); output_quoted_string (file, filename);
fprintf (file, ",%d,0,0,%s\n", N_SOL, &ltext_label_name[1]); fprintf (file, ",%d,0,0,%s\n", N_SOL, &ltext_label_name[1]);
text_section (); text_section ();
ASM_OUTPUT_INTERNAL_LABEL (asmfile, "Ltext", source_label_number++); ASM_OUTPUT_INTERNAL_LABEL (asmfile, "Ltext", source_label_number);
source_label_number++;
#endif #endif
lastfile = filename; lastfile = filename;
} }
......
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