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++/77742] Warning about placement new for over-aligned type


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

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
As placement new has no control over the memory alignment the warning looks
useless to me.  In this particular case we even know statically the memory is
well-aligned.

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