libstdc++: Update default -std for testsuite

libstdc++-v3/ChangeLog:

	* testsuite/lib/libstdc++.exp (dg-v3-runtest) Set default_std to
	20.

Reviewed-by: Tomasz Kamiński <tkaminsk@redhat.com>
This commit is contained in:
Jonathan Wakely
2025-12-15 16:00:20 +00:00
committed by Jonathan Wakely
parent f725f08262
commit e0fa6ea45f

View File

@@ -533,7 +533,7 @@ proc v3-dg-runtest { testcases flags default-extra-flags } {
# single test.
# These should be adjusted whenever the default -std is
# updated or newer C++ effective target is added.
set default_std 17
set default_std 20
set max_std 26
set min_std [v3-minimum-std $test $default_std $max_std]
if { $min_std > $default_std } {