"Jiang, Haochen" <[email protected]> writes: >> From: Jakub Jelinek <[email protected]> >> Sent: Saturday, June 13, 2026 12:47 AM >> >> Hi! >> >> The following patch on top of the just posted -std=c++29 patch >> implements the C++29 P3540R3 - #embed offset parameter paper. >> >> Ok for trunk? >> > > Hi Jakub, > > Should we also add cxx29 in get_cxx_dialect_name() in > gcc/cp/name-lookup.cc to avoid ICEs? (Or this is expected?) >
Yes indeed, see PR125851. It is fixed by r17-1606. > https://gcc.gnu.org/pipermail/gcc-regression/2026-June/083970.html > > /* Describe DIALECT. */ > > const char * > get_cxx_dialect_name (enum cxx_dialect dialect) > { > switch (dialect) > { > default: > gcc_unreachable (); > case cxx98: > return "C++98"; > case cxx11: > return "C++11"; > case cxx14: > return "C++14"; > case cxx17: > return "C++17"; > case cxx20: > return "C++20"; > case cxx23: > return "C++23"; > case cxx26: > return "C++26"; > + case cxx29: > + return "C++29"; > } > } > > Thx, > Haochen
signature.asc
Description: PGP signature
