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: "mpolacek at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 09 Jun 2014 06:27:15 +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
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |SUSPENDED
Last reconfirmed| |2014-06-09
CC| |mpolacek at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
There are more references to _Alignof in the draft that are not in the final
version. Anyway I think there isn't much to do for this PR right now, so
suspending for now until we have some conclusion about what should happen;
_Alignof (expr) is a GNU extension. The thing is that in case of EXPR, we
always call c_alignof_expr, but that can't be told that it should produce the
least alignment required for a type of EXPR. It wouldn't be hard to tweak it,
though.
Or should I close this one?