aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Earnshaw <erich@gnu.org>1994-07-12 12:11:35 +0000
committerRichard Earnshaw <erich@gnu.org>1994-07-12 12:11:35 +0000
commit667732d8498fecd3c1e0fb75bfe7f611f96336f4 (patch)
tree84f73a6f140378da9e38aa7a8c22d55c8459abee /gcc
parentfb81d7cec645615f139cf4f1ff9737112f7769da (diff)
downloadgcc-667732d8498fecd3c1e0fb75bfe7f611f96336f4.zip
gcc-667732d8498fecd3c1e0fb75bfe7f611f96336f4.tar.gz
gcc-667732d8498fecd3c1e0fb75bfe7f611f96336f4.tar.bz2
(dbxout_source_file): Increment source_label_number outside
of macro expansion. From-SVN: r7737
Diffstat (limited to 'gcc')
-rw-r--r--gcc/dbxout.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index 8d208d0..d34497d 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -519,7 +519,8 @@ dbxout_source_file (file, filename)
output_quoted_string (file, filename);
fprintf (file, ",%d,0,0,%s\n", N_SOL, &ltext_label_name[1]);
text_section ();
- ASM_OUTPUT_INTERNAL_LABEL (asmfile, "Ltext", source_label_number++);
+ ASM_OUTPUT_INTERNAL_LABEL (asmfile, "Ltext", source_label_number);
+ source_label_number++;
#endif
lastfile = filename;
}