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 #8 from Rich Felker <bugdal at aerifal dot cx> ---
There's already the GNU C __alignof__ which is free to do whatever GCC prefers,
so I fail to see the usefulness of making _Alignof do something nonstandard
(and IMO, utterly illogical) that might conflict with future standards. I would
prefer that __Alignof(expr) produce either an error, or
__Alignof(__typeof__(expr)).


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