This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/50459] alignof doesn't work on plain old constant, works with expressions containing it
- 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, 14 Apr 2014 11:55:44 +0000
- Subject: [Bug c/50459] alignof doesn't work on plain old constant, works with expressions containing it
- Auto-submitted: auto-generated
- References: <bug-50459-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50459
--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Created attachment 32594
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32594&action=edit
pr50459
Yeah. This is regtested patch that covers even other attributes. If this
approach is ok then I can take this bug & post to ML.