summaryrefslogtreecommitdiffstats
path: root/gas
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
parent8c47ebd96b41843fb0808d5aa8bbb0075ebd70eb (diff)
downloadppe42-binutils-fd232ac8d59c3a988d839ab5665aa58c90e6889c.tar.gz
ppe42-binutils-fd232ac8d59c3a988d839ab5665aa58c90e6889c.zip
* config/tc-hppa.c (pa_ip): Add parens to silence compiler.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-hppa.c5
2 files changed, 6 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index b0c2d7330f..f93c2b13f3 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+Thu Sep 23 07:13:45 1999 Jerry Quinn <jquinn@nortelnetworks.com>
+
+ * config/tc-hppa.c (pa_ip): Add parens to silence compiler.
+
Wed Sep 22 09:37:19 1999 Jeffrey A Law (law@cygnus.com)
* config/tc-hppa.c (pa_ip): Avoid ANSI specific initialization.
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c
index d93998facb..96ff5761d9 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 != '%')
OpenPOWER on IntegriCloud