[PATCH, contrib]: Do not escape "=".

Uros Bizjak ubizjak@gmail.com
Tue Aug 13 09:11:00 GMT 2019


Attached patch fixes the following gawk-5.0.1 warning:

gawk: cmd. line:36: warning: regexp escape sequence `\=' is not a
known regexp operator

2019-08-13  Uros Bizjak  <ubizjak@gmail.com>

    * test_summary: Do not escape "=".

Tested by building mail-report.log with gawk-5.0.1 and gawk-4.2.1.

OK for mainline?

Uros.
-------------- next part --------------
diff --git a/contrib/test_summary b/contrib/test_summary
index 3560a64c4f19..5760b053ec27 100755
--- a/contrib/test_summary
+++ b/contrib/test_summary
@@ -127,7 +127,7 @@ NR == 1 {
   if (lang == "") lang = " "$2" "; else lang = " ";
 }
 $2 == "version" { save = $0; $1 = ""; $2 = ""; version = $0; gsub(/^ */, "", version); gsub(/\r$/, "", version); $0 = save; }
-/\===.*Summary/ { print ""; print; blanks=1; }
+/===.*Summary/ { print ""; print; blanks=1; }
 /tests ===/ || /^(Target|Host|Native)/ || $2 == "version" { print; blanks=1; }
 /^(XPASS|FAIL|UNRESOLVED|WARNING|ERROR|# of )/ { sub ("\r", ""); print; }
 /^using:/ { print ""; print; print ""; }


More information about the Gcc-patches mailing list