diff options
author | Nick Clifton <nickc@redhat.com> | 2016-02-08 14:51:10 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2016-02-08 14:51:10 +0000 |
commit | 9264d325483984f5f2cee06456d5efd3385177b6 (patch) | |
tree | d29657512b24d6f2085bf5803ee05d42bb43ac38 /gas | |
parent | 1d4f3cb666d17503ffe7cfd88f445430789ab5be (diff) | |
download | gdb-9264d325483984f5f2cee06456d5efd3385177b6.zip gdb-9264d325483984f5f2cee06456d5efd3385177b6.tar.gz gdb-9264d325483984f5f2cee06456d5efd3385177b6.tar.bz2 |
FIx formatting that triggers a new compile time warning message.
* config/tc-ia64.c (dot_prologue): Fix formatting.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/tc-ia64.c | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index f62990a..34c301d 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2016-02-08 Nick Clifton <nickc@redhat.com> + + * config/tc-ia64.c (dot_prologue): Fix formatting. + 2016-02-04 Nick Clifton <nickc@redhat.com> * config/obj-elf.c (obj_elf_change_section): Remove support for diff --git a/gas/config/tc-ia64.c b/gas/config/tc-ia64.c index 570f746..f0ba4ae 100644 --- a/gas/config/tc-ia64.c +++ b/gas/config/tc-ia64.c @@ -4360,12 +4360,14 @@ dot_prologue (int dummy ATTRIBUTE_UNUSED) as_warn (_("Pointless use of zero first operand to .prologue")); else mask = e.X_add_number; - n = popcount (mask); + + n = popcount (mask); if (sep == ',') parse_operand_and_eval (&e, 0); else e.X_op = O_absent; + if (e.X_op == O_constant && e.X_add_number >= 0 && e.X_add_number < 128) @@ -4385,7 +4387,6 @@ dot_prologue (int dummy ATTRIBUTE_UNUSED) as_bad (_("Second operand to .prologue must be the first of %d general registers"), n); grsave = 0; } - } if (mask) |