]> Savannah Git Hosting - gnulib.git/commitdiff
stdalign: port to Sun C 5.9
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 25 Oct 2015 08:10:47 +0000 (01:10 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 25 Oct 2015 08:11:20 +0000 (01:11 -0700)
* doc/posix-headers/stdalign.texi: Document this.
* lib/stdalign.in.h (_Alignas): Sun C 5.9 also supports
__attribute__ ((__aligned__ (...))).

ChangeLog
doc/posix-headers/stdalign.texi
lib/stdalign.in.h

index 584df59efca02053c96c6ef2f1c21998c5573f94..e71db09dade168088491efcb954dbfebfeade095 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2015-10-25  Paul Eggert  <eggert@cs.ucla.edu>
+
+       stdalign: port to Sun C 5.9
+       * doc/posix-headers/stdalign.texi: Document this.
+       * lib/stdalign.in.h (_Alignas): Sun C 5.9 also supports
+       __attribute__ ((__aligned__ (...))).
+
 2015-10-20  Paul Eggert  <eggert@cs.ucla.edu>
 
        time_rz: fix comment about tzalloc
index d8a9beeafdefb2a3ac1e6e3de07278b86896d8b7..f7953065b87614ce788a0be4ef6b51bf2453b25c 100644 (file)
@@ -38,7 +38,7 @@ member.  The Gnulib substitute does not support this extension.
 @code{_Alignas} and @code{alignas} are not always supported;
 on platforms lacking support, the
 macro @code{__alignas_is_defined} is not defined.
-Supported compilers include GCC, IBM C, Sun C 5.11 and later,
+Supported compilers include GCC, IBM C, Sun C 5.9 and later,
 and MSVC 7.0 and later.
 @item
 Some compilers do not support alignment via
index 227eaf3981d53cee6234de19db98186115986ec8..f4711d2d845f88542cc3a7cf5a1c54ab65190e09 100644 (file)
          ? 4 < __GNUC__ + (1 <= __GNUC_MINOR__)                 \
          : __GNUC__)                                            \
         || __HP_cc || __HP_aCC || __IBMC__ || __IBMCPP__        \
-        || __ICC || 0x5110 <= __SUNPRO_C)
+        || __ICC || 0x590 <= __SUNPRO_C)
 #  define _Alignas(a) __attribute__ ((__aligned__ (a)))
 # elif 1300 <= _MSC_VER
 #  define _Alignas(a) __declspec (align (a))