This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/77651] [7 Regression] c++ -Wno-aligned-new ICEs
- From: "guille at cal dot berkeley.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 19 Sep 2016 17:22:30 +0000
- Subject: [Bug c++/77651] [7 Regression] c++ -Wno-aligned-new ICEs
- Auto-submitted: auto-generated
- References: <bug-77651-4@http.gcc.gnu.org/bugzilla/>
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.