http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54188
--- Comment #6 from joseph at codesourcery dot com 2012-08-08 21:43:18 UTC ---
On Wed, 8 Aug 2012, rth at gcc dot gnu.org wrote:
> > N1370 (C11 draft) 6.5.3.4 paragraph 3 says:
> >
> > The _Alignof operator yields the alignment requirement o
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54188
Richard Henderson changed:
What|Removed |Added
CC||rth at gcc dot gnu.org
--- Comment #5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54188
--- Comment #4 from joseph at codesourcery dot com 2012-08-06 21:10:54 UTC ---
My conclusion in bug 52023 was that _Alignof should differ from
__alignof__ to meet the standard requirements (but really the standard
didn't have such strange ABIs i
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54188
--- Comment #3 from Keith Thompson
2012-08-06 19:28:37 UTC ---
The results of the _Alignof operator (new in the 2011 ISO C standard)
are the same as for the __alignof__ operator (not surprisingly).
N1370 (C11 draft) 6.5.3.4 paragraph 3 says:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54188
Richard Guenther changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54188
--- Comment #1 from Keith Thompson
2012-08-06 09:33:43 UTC ---
Forgot to mention: I compiled and executed the demo program as follows:
gcc alignof_bug.c -o alignof_bug && ./alignof_bug