From 9264d325483984f5f2cee06456d5efd3385177b6 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 8 Feb 2016 14:51:10 +0000 Subject: [PATCH] FIx formatting that triggers a new compile time warning message. * config/tc-ia64.c (dot_prologue): Fix formatting. --- gas/ChangeLog | 4 ++++ gas/config/tc-ia64.c | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index f62990a8c7c..34c301dcd40 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2016-02-08 Nick Clifton + + * config/tc-ia64.c (dot_prologue): Fix formatting. + 2016-02-04 Nick Clifton * 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 570f7468694..f0ba4ae4662 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) -- 2.30.2