aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-10-14 01:21:59 +0000
committerRichard Stallman <rms@gnu.org>1992-10-14 01:21:59 +0000
commit2c16c66660216f1a8c09f13ed44fbfb843dad480 (patch)
tree6c7a63f054a4e9be0f95b62d5d33e28aa22d42e5
parent2166571b8f1a95012072e563d4c112da24d11167 (diff)
downloadgcc-2c16c66660216f1a8c09f13ed44fbfb843dad480.zip
gcc-2c16c66660216f1a8c09f13ed44fbfb843dad480.tar.gz
gcc-2c16c66660216f1a8c09f13ed44fbfb843dad480.tar.bz2
(output_asm_insn): Advance over the = when processing %=.
From-SVN: r2447
-rw-r--r--gcc/final.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/final.c b/gcc/final.c
index 16da27d..3e97874 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -2051,7 +2051,10 @@ output_asm_insn (template, operands)
compilation. This is useful for making local labels that are
referred to more than once in a given insn. */
else if (*p == '=')
- fprintf (asm_out_file, "%d", insn_counter);
+ {
+ p++;
+ fprintf (asm_out_file, "%d", insn_counter);
+ }
/* % followed by a letter and some digits
outputs an operand in a special way depending on the letter.
Letters `acln' are implemented directly.