diff options
author | Jeff Law <law@redhat.com> | 1999-09-23 13:15:29 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1999-09-23 13:15:29 +0000 |
commit | fd232ac8d59c3a988d839ab5665aa58c90e6889c (patch) | |
tree | f1b7df87610b3cb0bdeb993baa70cfe5dc780819 /gas | |
parent | 8c47ebd96b41843fb0808d5aa8bbb0075ebd70eb (diff) | |
download | gdb-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')
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/tc-hppa.c | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index b0c2d73..f93c2b1 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 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 != '%') |