public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-2731] contrib: skip new egrep warning
@ 2022-09-20 8:17 Martin Liska
0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2022-09-20 8:17 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:63e3cc294d835b43701eeef9410d1b8fc8922869
commit r13-2731-g63e3cc294d835b43701eeef9410d1b8fc8922869
Author: Martin Liska <mliska@suse.cz>
Date: Tue Sep 20 10:16:47 2022 +0200
contrib: skip new egrep warning
contrib/ChangeLog:
* filter-clang-warnings.py: Skip egrep: warning: egrep is
obsolescent; using grep -E.
Diff:
---
contrib/filter-clang-warnings.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/contrib/filter-clang-warnings.py b/contrib/filter-clang-warnings.py
index 942cd30b659..3c68be028a8 100755
--- a/contrib/filter-clang-warnings.py
+++ b/contrib/filter-clang-warnings.py
@@ -39,7 +39,7 @@ def skip_warning(filename, message):
'-Wignored-attributes', '-Wgnu-zero-variadic-macro-arguments',
'-Wformat-security', '-Wundefined-internal',
'-Wunknown-warning-option', '-Wc++20-extensions',
- '-Wbitwise-instead-of-logical'],
+ '-Wbitwise-instead-of-logical', 'egrep is obsolescent'],
'insn-modes.cc': ['-Wshift-count-overflow'],
'insn-emit.cc': ['-Wtautological-compare'],
'insn-attrtab.cc': ['-Wparentheses-equality'],
@@ -57,8 +57,8 @@ def skip_warning(filename, message):
'lex.cc': ['-Wc++20-attribute-extensions'],
}
- for name, ignores in ignores.items():
- for i in ignores:
+ for name, ignore in ignores.items():
+ for i in ignore:
if name in filename and i in message:
return True
return False
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-09-20 8:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-20 8:17 [gcc r13-2731] contrib: skip new egrep warning Martin Liska
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).