+2017-03-19 Paul Eggert <eggert@cs.ucla.edu>
+
+ stdalign: tweak version# and test for HP-UX IA64
+ Problems reported by Bruno Haible in:
+ http://lists.gnu.org/archive/html/bug-gnulib/2017-03/msg00078.html
+ * lib/stdalign.in.h (_Alignas):
+ * m4/stdalign.m4 (gl_STDALIGN_H):
+ Use octal, not decimal, for __HP_cc version. Perhaps HP formerly
+ used octal (as that is how they document it), but it is decimal in
+ practice now and the ancient implementations no longer matter.
+ * tests/test-stdalign.c (main) [__HP_cc && __ia64]: Skip test.
+
2017-03-19 Bruno Haible <bruno@clisp.org>
vma-iter: Add support for Solaris.
# elif ((defined __APPLE__ && defined __MACH__ \
? 4 < __GNUC__ + (1 <= __GNUC_MINOR__) \
: __GNUC__) \
- || (__ia64 && (061200 <= __HP_cc || 061200 <= __HP_aCC)) \
+ || (__ia64 && (61200 <= __HP_cc || 61200 <= __HP_aCC)) \
|| __ICC || 0x590 <= __SUNPRO_C || 0x0600 <= __xlC__)
# define _Alignas(a) __attribute__ ((__aligned__ (a)))
# elif 1300 <= _MSC_VER
|| (defined __APPLE__ && defined __MACH__ \
? 4 < __GNUC__ + (1 <= __GNUC_MINOR__) \
: __GNUC__) \
- || (__ia64 && (061200 <= __HP_cc || 061200 <= __HP_aCC)) \
+ || (__ia64 && (61200 <= __HP_cc || 61200 <= __HP_aCC)) \
|| __ICC || 0x590 <= __SUNPRO_C || 0x0600 <= __xlC__ \
|| 1300 <= _MSC_VER)
struct alignas_test { char c; char alignas (8) alignas_8; };
/* Avoid a test failure due to Sun Studio Developer Bug Report #2125432. */
fputs ("Skipping test: known Sun C compiler bug\n", stderr);
return 77;
+#elif defined __HP_cc && __ia64
+ /* Avoid a test failure due to HP-UX Itanium cc bug; see:
+ http://lists.gnu.org/archive/html/bug-gnulib/2017-03/msg00078.html */
+ fputs ("Skipping test: known HP-UX Itanium cc compiler bug\n", stderr);
+ return 77;
#else
CHECK_ALIGNED (static_char_alignas);
CHECK_ALIGNED (static_char_Alignas);