aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2016-02-08 14:51:10 +0000
committerNick Clifton <nickc@redhat.com>2016-02-08 14:51:10 +0000
commit9264d325483984f5f2cee06456d5efd3385177b6 (patch)
treed29657512b24d6f2085bf5803ee05d42bb43ac38 /gas/config
parent1d4f3cb666d17503ffe7cfd88f445430789ab5be (diff)
downloadgdb-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/config')
-rw-r--r--gas/config/tc-ia64.c5
1 files changed, 3 insertions, 2 deletions
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)