Commit fae00b3e by DJ Delorie Committed by DJ Delorie

rl78.c (rl78_print_operand_1): Move 'p' test to correct clause.

* config/rl78/rl78.c (rl78_print_operand_1): Move 'p' test to
correct clause.

From-SVN: r221649
parent a823ab1a
2015-03-25 DJ Delorie <dj@redhat.com>
* config/rl78/rl78.c (rl78_print_operand_1): Move 'p' test to
correct clause.
2015-03-24 Jan Hubicka <hubicka@ucw.cz>
Martin Liska <mliska@suse.cz>
......
......@@ -1644,14 +1644,14 @@ rl78_print_operand_1 (FILE * file, rtx op, int letter)
rl78_print_operand_1 (file, XEXP (XEXP (op, 0), 1), 'u');
fprintf (file, "[");
rl78_print_operand_1 (file, XEXP (XEXP (op, 0), 0), 0);
if (letter == 'p' && GET_CODE (XEXP (op, 0)) == REG)
fprintf (file, "+0");
fprintf (file, "]");
}
else
{
fprintf (file, "[");
rl78_print_operand_1 (file, XEXP (op, 0), letter);
if (letter == 'p' && GET_CODE (XEXP (op, 0)) == REG)
fprintf (file, "+0");
fprintf (file, "]");
}
}
......
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