Prefer talking about alignas than _Alignas.
authorBruno Haible <bruno@clisp.org>
Tue, 13 Sep 2022 20:18:37 +0000 (22:18 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 13 Sep 2022 20:18:37 +0000 (22:18 +0200)
* m4/gnulib-common.m4 (gl_COMMON_BODY): Don't mention _Alignas in a
comment.
* m4/stdalign.m4 (gl_STDALIGN_H): Likewise.

ChangeLog
m4/gnulib-common.m4
m4/stdalign.m4

index 50131126321a5d4747585549b65de20ef1f64e47..31fb6837f4674a223e828e01f411a5d27bd02d66 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2022-09-13  Bruno Haible  <bruno@clisp.org>
+
+       Prefer talking about alignas than _Alignas.
+       * m4/gnulib-common.m4 (gl_COMMON_BODY): Don't mention _Alignas in a
+       comment.
+       * m4/stdalign.m4 (gl_STDALIGN_H): Likewise.
+
 2022-09-13  Paul Eggert  <eggert@cs.ucla.edu>
 
        stdalign-tests: port to C23
index 8a5daa230e3c8a121ad7f8250fa6423d966091d9..d17cbec58cbe0ee14a385c1902c83f25562db7bb 100644 (file)
@@ -1,4 +1,4 @@
-# gnulib-common.m4 serial 73
+# gnulib-common.m4 serial 74
 dnl Copyright (C) 2007-2022 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -115,7 +115,7 @@ AC_DEFUN([gl_COMMON_BODY], [
 # define _GL_HAS_C_ATTRIBUTE(attr) 0
 #endif
 
-]dnl There is no _GL_ATTRIBUTE_ALIGNED; use stdalign's _Alignas instead.
+]dnl There is no _GL_ATTRIBUTE_ALIGNED; use stdalign's alignas instead.
 [
 /* _GL_ATTRIBUTE_ALLOC_SIZE ((N)) declares that the Nth argument of the function
    is the size of the returned memory block.
index 78577cb2acc05bdf8910fdd8db2ada493fdaccbd..c3283760d526589ebd60fa35cec420e5d9fe96a6 100644 (file)
@@ -30,7 +30,7 @@ AC_DEFUN([gl_STDALIGN_H],
             char test_long[ao (long int) % _Alignof (long int) == 0 ? 1 : -1];
             char test_alignof[alignof (double) == _Alignof (double) ? 1 : -1];
 
-            /* Test _Alignas only on platforms where gnulib can help.  */
+            /* Test alignas only on platforms where gnulib can help.  */
             #if \
                 ((defined __cplusplus && 201103 <= __cplusplus) \
                  || (__TINYC__ && defined __attribute__) \