[Bug c++/69763] _Alignof(double) in C gives different results from alignof(double) in C++

eggert at gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Feb 11 02:23:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69763

Paul Eggert <eggert at gnu dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eggert at gnu dot org

--- Comment #1 from Paul Eggert <eggert at gnu dot org> ---
In bug 52023 Joseph S. Myers wrote that the C++11 alignof was left alone, so
that it is different from C11 alignof. I don't know why this was done, but it
does appear to be deliberate. See:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52023#c14


More information about the Gcc-bugs mailing list