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.
This commit is contained in:
Alan Modra
2025-12-09 10:56:03 +10:30
parent ac241b019c
commit bf85c50303

View 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
}