From: Jason Merrill Date: Thu, 1 May 2025 14:20:25 +0000 (-0400) Subject: libstdc++: build testsuite with -Wabi X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f28ff1e4f1c91f46d80e26dd77917e47cdd41bbe;p=thirdparty%2Fgcc.git 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. --- 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}"