stdalign: relax _Alignof and tighten _Alignas test
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 28 Jan 2012 06:17:42 +0000 (22:17 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 28 Jan 2012 06:18:35 +0000 (22:18 -0800)
* m4/stdalign.m4 (gl_STDALIGN_H): Relax the _Alignof test,
as it was too strict: alignof must divide offsetof, but it need
not equal offsetof.  Inspired by Joseph S. Myers's comment
<http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52023#c10>.
Conversely, tighten the _Alignas test a bit, as the resulting
alignment must be exactly 8.


No differences found