https://gcc.gnu.org/g:3843dc46151b62c488f3f1de14c8e169931f838e

commit r17-1606-g3843dc46151b62c488f3f1de14c8e169931f838e
Author: H.J. Lu <[email protected]>
Date:   Wed Jun 17 11:23:14 2026 +0800

    c++: Update get_cxx_dialect_name for cxx29
    
    Update get_cxx_dialect_name to handle cxx29 added by
    
    commit 0c5c6249a2e9a75d2e7d1c6c434487c8dc077130
    Author: Jakub Jelinek <[email protected]>
    Date:   Tue Jun 16 22:24:57 2026 +0200
    
        c++, libcpp: Add -std=c++2[9d] and -std=gnu++2[9d] options
    
            PR c++/125851
            * name-lookup.cc (get_cxx_dialect_name): Handle cxx29.
    
    Signed-off-by: H.J. Lu <[email protected]>

Diff:
---
 gcc/cp/name-lookup.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gcc/cp/name-lookup.cc b/gcc/cp/name-lookup.cc
index e12e37c35158..60a6e6f4430c 100644
--- a/gcc/cp/name-lookup.cc
+++ b/gcc/cp/name-lookup.cc
@@ -7555,6 +7555,8 @@ get_cxx_dialect_name (enum cxx_dialect dialect)
       return "C++23";
     case cxx26:
       return "C++26";
+    case cxx29:
+      return "C++29";
     }
 }

Reply via email to