rs6000.c (output_cbranch): Escape '%' characters so output_operand doesn't see them.
* config/rs6000/rs6000.c (output_cbranch): Escape '%' characters so output_operand doesn't see them. From-SVN: r34244
This commit is contained in:
parent
1270c25504
commit
37c67319e1
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2000-05-28 Geoff Keating <geoffk@cygnus.com>
|
||||
|
||||
* config/rs6000/rs6000.c (output_cbranch): Escape '%' characters
|
||||
so output_operand doesn't see them.
|
||||
|
||||
Sun May 28 18:37:07 2000 Clinton Popetz <cpopetz@cygnus.com>
|
||||
|
||||
* lcm.c (make_preds_opaque): Fix comment.
|
||||
|
|
|
@ -4115,6 +4115,10 @@ output_cbranch (op, label, reversed, insn)
|
|||
else
|
||||
s += sprintf (s, "{b%s|b%s%s} ", ccode, ccode, pred);
|
||||
|
||||
/* We need to escape any '%' characters in the reg_names string.
|
||||
Assume they'd only be the first character... */
|
||||
if (reg_names[cc_regno + CR0_REGNO][0] == '%')
|
||||
*s++ = '%';
|
||||
s += sprintf (s, "%s", reg_names[cc_regno + CR0_REGNO]);
|
||||
|
||||
if (label != NULL)
|
||||
|
|
Loading…
Add table
Reference in a new issue