]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
lto-wrapper warning note
authorAlan Modra <amodra@gmail.com>
Tue, 9 Dec 2025 00:26:03 +0000 (10:56 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 9 Dec 2025 00:31:09 +0000 (11:01 +1030)
Current gcc adds a note to the LTO "using serial compilation" warning.

* lib/binutils-common.exp (prune_warnings_extra): Remove
lto-wrapper note.

binutils/testsuite/lib/binutils-common.exp

index edde241024aec051d3f017bd199de0578bcf52e6..3a43c9e21a2c2198f2d0bf932b073ba0e80018a4 100644 (file)
@@ -755,6 +755,7 @@ proc prune_warnings_extra { text } {
 
     # Ignore LTO warnings triggered by configuring with --enable-pgo-build=lto.
     regsub -all "(^|\n)(\[^\n\]*lto-wrapper: warning: using serial compilation of \[0-9\]+ LTRANS jobs\[^\n\]*\n?)+" $text "\\1" text
+    regsub -all "(^|\n)(\[^\n\]*lto-wrapper: note: \[^\n\]*\n?)+" $text "\\1" text
 
     return $text
 }