On Thu, Nov 28, 2024 at 12:19:00PM -0500, Marek Polacek wrote: > Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk? > > -- >8 -- > Forgot to do this in my original patch. > > gcc/c-family/ChangeLog: > > * c-cppbuiltin.cc (c_cpp_builtins): Predefine > __cpp_pack_indexing=202311L for C++26. > > gcc/testsuite/ChangeLog: > > * g++.dg/cpp26/feat-cxx26.C (__cpp_pack_indexing): Add test.
LGTM. Jakub