This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]