2020-09-20 Paul Eggert <eggert@cs.ucla.edu>
+ test-stdalign: test Oracle Studio better
+ * doc/posix-headers/stdalign.texi (stdalign.h):
+ * tests/test-stdalign.c (main):
+ Sun Studio Bug #2125432 seems to be fixed.
+
c-stack: output diagnostic in single 'write'
* lib/c-stack.c (die): In the typical case, use just one 'write'
syscall to output the diagnostic, as this lessens interleaving.
to be a single integer constant, not an expression: MSVC 7.0 through
at least 10.0.
@item
-The Sun C 5.11 compiler sometimes mishandles the alignment of multiple
+The Sun C 5.13 compiler sometimes mishandles the alignment of multiple
external variables that are declared close together with
-@code{_Alignas}/@code{alignas}. This compiler bug causes the Gnulib
-module @code{stdalign-tests} to fail. The Sun Studio Developer Bug
+@code{_Alignas}/@code{alignas}. The Sun Studio Developer Bug
Report Review Team assigned the internal review ID 2125432 (dated
-2011-11-01) to this issue.
+2011-11-01) to this issue. The bug appears to be fixed in Sun C 5.15,
+also known as Oracle Developer Studio 12.6.
@item
@code{<stdalign.h>} must be #included before @code{_Alignas} and
@code{_Alignof} can be used.
int
main ()
{
-#if defined __SUNPRO_C
+#if defined __SUNPRO_C && __SUNPRO_C < 0x5150
/* Avoid a test failure due to Sun Studio Developer Bug Report #2125432. */
fputs ("Skipping test: known Sun C compiler bug\n", stderr);
return 77;