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/56335] Optimization assumes __attribute__((aligned(N))) always works.


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?


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