diff options
author | Nick Clifton <nickc@redhat.com> | 2015-08-11 09:43:16 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2015-08-11 09:43:16 +0100 |
commit | d29b2a1ece30514431861472d784ae8722816a4c (patch) | |
tree | f6b947b098fb8361549c7d526dc4da920d65854a /gas/config/tc-mmix.c | |
parent | 88fd0449a3f88c12c8930698a833f6c1c4478307 (diff) | |
download | gdb-d29b2a1ece30514431861472d784ae8722816a4c.zip gdb-d29b2a1ece30514431861472d784ae8722816a4c.tar.gz gdb-d29b2a1ece30514431861472d784ae8722816a4c.tar.bz2 |
Fix typo checking MMIX operands.
PR gas/18677
* config/tc-mmix.c (md_assemble): Fix typo checking operands with
a numeric constant value.
Diffstat (limited to 'gas/config/tc-mmix.c')
-rw-r--r-- | gas/config/tc-mmix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-mmix.c b/gas/config/tc-mmix.c index 971c534..a02e027 100644 --- a/gas/config/tc-mmix.c +++ b/gas/config/tc-mmix.c @@ -1475,8 +1475,8 @@ md_assemble (char *str) && ((exp[1].X_op == O_register && exp[1].X_add_number < 512) || (exp[1].X_op == O_constant - && exp[1].X_add_number < 0 - && exp[1].X_add_number > 4) + && (exp[1].X_add_number < 0 + || exp[1].X_add_number > 4)) || (exp[1].X_op != O_register && exp[1].X_op != O_constant)))) { |