aboutsummaryrefslogtreecommitdiff
path: root/sim/m32c/m32c.opc
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2009-01-06 19:01:36 +0000
committerJoel Sherrill <joel.sherrill@oarcorp.com>2009-01-06 19:01:36 +0000
commited25d7320abdd2411ab54d1757c1c4fafff7b928 (patch)
treed45a0189322456e7f5a53d91dcabf12e2f047a2e /sim/m32c/m32c.opc
parentbf1d7d9ce0e35cfa01400e2da11f0d84ea89e481 (diff)
downloadgdb-ed25d7320abdd2411ab54d1757c1c4fafff7b928.zip
gdb-ed25d7320abdd2411ab54d1757c1c4fafff7b928.tar.gz
gdb-ed25d7320abdd2411ab54d1757c1c4fafff7b928.tar.bz2
2009-01-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* r8c.opc, m32c.opc: Add parentheses to remove warnings.
Diffstat (limited to 'sim/m32c/m32c.opc')
-rw-r--r--sim/m32c/m32c.opc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/m32c/m32c.opc b/sim/m32c/m32c.opc
index 3fe6cf0..8a3eedd 100644
--- a/sim/m32c/m32c.opc
+++ b/sim/m32c/m32c.opc
@@ -642,13 +642,13 @@ next_opcode:
prefix (0, 0, 0);
sc = decode_src23 (sss, ss, 1);
- BIT_OPC (sc, bit, !b & carry);
+ BIT_OPC (sc, bit, (!b) & carry);
/** 0000 0001 1101 sss0 ss11 0bit BNOR src */
prefix (0, 0, 0);
sc = decode_src23 (sss, ss, 1);
- BIT_OPC (sc, bit, !b | carry);
+ BIT_OPC (sc, bit, (!b) | carry);
/** 1101 ddd0 dd01 1bit BNOT dest */