Hi! I'd like to ping the https://gcc.gnu.org/pipermail/gcc-patches/2024-July/thread.html#656299 patch.
Jonathan has acked the libstdc++ side thereof (I've added the requested #undef on my side), is the c-cppbuiltin.cc side ok for trunk? And, shall we (incrementally or right away) add some new tree to represent the new expressions so that constant evaluation can do the required diagnostics? Thanks. On Wed, Jul 03, 2024 at 04:37:00PM +0200, Jakub Jelinek wrote: > 2024-07-03 Jakub Jelinek <ja...@redhat.com> > > PR c++/115744 > gcc/c-family/ > * c-cppbuiltin.cc (c_cpp_builtins): Change __cpp_constexpr > from 202306L to 202406L for C++26. > gcc/testsuite/ > * g++.dg/cpp2a/construct_at.h (operator new, operator new[]): > Use constexpr instead of inline if __cpp_constexpr >= 202406L. > * g++.dg/cpp26/constexpr-new1.C: New test. > * g++.dg/cpp26/constexpr-new2.C: New test. > * g++.dg/cpp26/constexpr-new3.C: New test. > * g++.dg/cpp26/feat-cxx26.C (__cpp_constexpr): Adjust expected > value. > libstdc++-v3/ > * libsupc++/new (__glibcxx_want_constexpr_new): Define before > including bits/version.h. > (_GLIBCXX_PLACEMENT_CONSTEXPR): Define. > (operator new, operator new[]): Use it for placement new instead > of inline. > * include/bits/version.def (constexpr_new): New FTM. > * include/bits/version.h: Regenerate. Jakub