lto-wrapper warning note Current gcc adds a note to the LTO "using serial compilation" warning. * lib/binutils-common.exp (prune_warnings_extra): Remove lto-wrapper note.
diff --git a/binutils/testsuite/lib/binutils-common.exp b/binutils/testsuite/lib/binutils-common.exp index edde241..3a43c9e 100644 --- a/binutils/testsuite/lib/binutils-common.exp +++ b/binutils/testsuite/lib/binutils-common.exp
@@ -755,6 +755,7 @@ # 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 }