[Bug c/61447] _Alignof returns incorrect results for some types/archs

joseph at codesourcery dot com gcc-bugzilla@gcc.gnu.org
Sun Jun 8 15:34:00 GMT 2014


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

--- Comment #3 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
What makes you think _Alignof depends on -std=c11 (other than for 
-pedantic diagnostics)?

I don't see any point in requesting alignment of an object, as opposed to 
a type, unless you want a result that can sometimes be bigger than what 
you get from _Alignof applied to the type.



More information about the Gcc-bugs mailing list