]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: build testsuite with -Wabi
authorJason Merrill <jason@redhat.com>
Thu, 1 May 2025 14:20:25 +0000 (10:20 -0400)
committerJason Merrill <jason@redhat.com>
Thu, 15 May 2025 13:53:37 +0000 (09:53 -0400)
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

index fbc9f7f13e6451f20c39aae248f9672ee052ff4e..da1f4245e4b8ba15b8c85dbfd07e091a8cf9c52f 100644 (file)
@@ -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}"