public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH, contrib]: Do not escape "=".
@ 2019-08-13  9:11 Uros Bizjak
  2019-08-13 15:16 ` Jeff Law
  0 siblings, 1 reply; 2+ messages in thread
From: Uros Bizjak @ 2019-08-13  9:11 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 323 bytes --]

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.

[-- Attachment #2: c.diff.txt --]
[-- Type: text/plain, Size: 656 bytes --]

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 ""; }

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH, contrib]: Do not escape "=".
  2019-08-13  9:11 [PATCH, contrib]: Do not escape "=" Uros Bizjak
@ 2019-08-13 15:16 ` Jeff Law
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Law @ 2019-08-13 15:16 UTC (permalink / raw)
  To: Uros Bizjak, gcc-patches

On 8/13/19 2:55 AM, Uros Bizjak wrote:
> 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.
> 
OK
jeff

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-08-13 15:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-13  9:11 [PATCH, contrib]: Do not escape "=" Uros Bizjak
2019-08-13 15:16 ` Jeff Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).