This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/61447] _Alignof returns incorrect results for some types/archs
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 08 Jun 2014 15:34:31 +0000
- Subject: [Bug c/61447] _Alignof returns incorrect results for some types/archs
- Auto-submitted: auto-generated
- References: <bug-61447-4 at http dot gcc dot gnu dot org/bugzilla/>
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.