public inbox for binutils-cvs@sourceware.org
 help / color / mirror / Atom feed
* [binutils-gdb] Fix building for the s390 target with clang
@ 2023-11-24  8:10 Nick Clifton
  0 siblings, 0 replies; only message in thread
From: Nick Clifton @ 2023-11-24  8:10 UTC (permalink / raw)
  To: bfd-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6c0c7d489bdf106d90b300aeb8d042c7b1ad3d2b

commit 6c0c7d489bdf106d90b300aeb8d042c7b1ad3d2b
Author: Nick Clifton <nickc@redhat.com>
Date:   Fri Nov 24 08:10:12 2023 +0000

    Fix building for the s390 target with clang

Diff:
---
 opcodes/s390-opc.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/opcodes/s390-opc.c b/opcodes/s390-opc.c
index 0427bd8b2e0..cbfdb3df0b7 100644
--- a/opcodes/s390-opc.c
+++ b/opcodes/s390-opc.c
@@ -262,9 +262,10 @@ const struct s390_operand s390_operands[] =
 
 };
 
-static inline void unused_s390_operands_static_asserts(void)
+static inline void ATTRIBUTE_UNUSED
+unused_s390_operands_static_asserts (void)
 {
-  static_assert(ARRAY_SIZE(s390_operands) - 1 == J32_16);
+  static_assert (ARRAY_SIZE (s390_operands) - 1 == J32_16);
 }
 
 /* Macros used to form opcodes.  */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-11-24  8:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-24  8:10 [binutils-gdb] Fix building for the s390 target with clang Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).