From f28ff1e4f1c91f46d80e26dd77917e47cdd41bbe Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Thu, 1 May 2025 10:20:25 -0400 Subject: [PATCH] libstdc++: build testsuite with -Wabi I added this locally to check whether the PR120012 fix affects libstdc++ (it doesn't) but it seems more generally useful to catch whether compiler ABI changes have library impact. libstdc++-v3/ChangeLog: * testsuite/lib/libstdc++.exp: Add -Wabi. --- libstdc++-v3/testsuite/lib/libstdc++.exp | 1 + 1 file changed, 1 insertion(+) diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp index fbc9f7f13e6..da1f4245e4b 100644 --- a/libstdc++-v3/testsuite/lib/libstdc++.exp +++ b/libstdc++-v3/testsuite/lib/libstdc++.exp @@ -586,6 +586,7 @@ proc v3_target_compile { source dest type options } { global tool lappend options "additional_flags=-fdiagnostics-plain-output" + lappend options "additional_flags=-Wabi=20"; if { [target_info needs_status_wrapper] != "" && [info exists gluefile] } { lappend options "libs=${gluefile}" -- 2.47.2