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++/77651] [7 Regression] c++ -Wno-aligned-new ICEs


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

--- Comment #3 from Guille <guille at cal dot berkeley.edu> ---
Excuses, I take that back. 
I use placement new on a properly aligned piece of memory, gcc complains
(warning) that: 

* 'note: uses ‘void* operator new(std::size_t, void*)’, which does not have an
alignment parameter'
* 'note: use ‘-faligned-new’ to enable C++17 over-aligned new support'

then I run with '-faligned-new', and it still gives me the same warning.

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