From fd232ac8d59c3a988d839ab5665aa58c90e6889c Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Thu, 23 Sep 1999 13:15:29 +0000 Subject: [PATCH] * config/tc-hppa.c (pa_ip): Add parens to silence compiler. --- gas/ChangeLog | 4 ++++ gas/config/tc-hppa.c | 5 ++--- 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 + + * 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 != '%') -- 2.34.1