diff options
author | DJ Delorie <dj@redhat.com> | 2015-03-25 01:00:15 -0400 |
---|---|---|
committer | DJ Delorie <dj@gcc.gnu.org> | 2015-03-25 01:00:15 -0400 |
commit | fae00b3eee74b6bcad636a2a67bec4a48faa8f7f (patch) | |
tree | 65c8ddcf0c74f69e6d9247991fedd7c3e29269c3 /gcc/config/rl78 | |
parent | a823ab1abca7e9f0c54f5eccfc2fae833c0441ab (diff) | |
download | gcc-fae00b3eee74b6bcad636a2a67bec4a48faa8f7f.zip gcc-fae00b3eee74b6bcad636a2a67bec4a48faa8f7f.tar.gz gcc-fae00b3eee74b6bcad636a2a67bec4a48faa8f7f.tar.bz2 |
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
Diffstat (limited to 'gcc/config/rl78')
-rw-r--r-- | gcc/config/rl78/rl78.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/rl78/rl78.c b/gcc/config/rl78/rl78.c index 0c577c4..cdd30e0 100644 --- a/gcc/config/rl78/rl78.c +++ b/gcc/config/rl78/rl78.c @@ -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, "]"); } } |