This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/56335] Optimization assumes __attribute__((aligned(N))) always works.
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 15 Feb 2013 09:28:12 +0000
- Subject: [Bug c/56335] Optimization assumes __attribute__((aligned(N))) always works.
- Auto-submitted: auto-generated
- References: <bug-56335-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56335
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
Status|UNCONFIRMED |NEW
Last reconfirmed| |2013-02-15
Component|tree-optimization |c
Ever Confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> 2013-02-15 09:28:12 UTC ---
That's a bug in alignment attribute processing then. It should not communicate
alignments that can not be reached to the middle-end.
Language lawyer question: Is __alignof__ then allowed to report a lower
alignment? Or do we have to reject a testcase with a too large alignment
specification as invalid?