aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-hppa.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1999-09-23 13:15:29 +0000
committerJeff Law <law@redhat.com>1999-09-23 13:15:29 +0000
commitfd232ac8d59c3a988d839ab5665aa58c90e6889c (patch)
treef1b7df87610b3cb0bdeb993baa70cfe5dc780819 /gas/config/tc-hppa.c
parent8c47ebd96b41843fb0808d5aa8bbb0075ebd70eb (diff)
downloadgdb-fd232ac8d59c3a988d839ab5665aa58c90e6889c.zip
gdb-fd232ac8d59c3a988d839ab5665aa58c90e6889c.tar.gz
gdb-fd232ac8d59c3a988d839ab5665aa58c90e6889c.tar.bz2
* config/tc-hppa.c (pa_ip): Add parens to silence compiler.
Diffstat (limited to 'gas/config/tc-hppa.c')
-rw-r--r--gas/config/tc-hppa.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c
index d93998f..96ff576 100644
--- a/gas/config/tc-hppa.c
+++ b/gas/config/tc-hppa.c
@@ -2840,7 +2840,7 @@ pa_ip (str)
a = (opcode & (1 << 9)) != 0;
opcode &= ~ (3 << 8);
num = evaluate_absolute (&the_insn);
- if (a == 1 && num >= 0 || (a == 0 && num < 0))
+ if ((a == 1 && num >= 0) || (a == 0 && num < 0))
break;
CHECK_FIELD (num, 8191, -8192, 0);
low_sign_unext (num, 14, &num);
@@ -2868,7 +2868,7 @@ pa_ip (str)
a = (opcode & (1 << 9)) != 0;
opcode &= ~ (3 << 8);
num = evaluate_absolute (&the_insn);
- if (a == 1 && num < 0 || (a == 0 && num > 0))
+ if ((a == 1 && num < 0) || (a == 0 && num > 0))
break;
if (num % 4)
break;
@@ -3560,7 +3560,6 @@ pa_ip (str)
case 'C':
{
struct pa_11_fp_reg_struct result;
- int regnum;
/* This should be more strict. Small steps. */
if (strict && *s != '%')