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++/67911] new expression fails to align overaligned types


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67911

--- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> ---
(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.


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