https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67911
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> --- (In reply to Marc Glisse from comment #1) > (I thought we already had a PR or 2 about this) > The future is likely to be based on > http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0035r0.html > but sadly this is moving forward quite slowly. > > Users can override the global operator new, so we have no way (unless > -fwhole-program or -flto) to know if this alignment is handled or not. This > of course does not prevent from having a warning that people can chose to > enable/disable. Thanks for the link. You're right, there already are a few bugs in Bugzilla about this. They're all marked as duplicates of bug 36159 (the subject of that bug is a little misleading, but the test case is clear enough). *** This bug has been marked as a duplicate of bug 36159 ***