https://gcc.gnu.org/g:454c82951581d6d63ac8e10a71ddbb7f94b6f83d

commit r16-7584-g454c82951581d6d63ac8e10a71ddbb7f94b6f83d
Author: Filip Kastl <[email protected]>
Date:   Mon Feb 16 09:57:14 2026 +0100

    contrib/filter-clang-warnings.py: Ignore all .texi
    
    Compiling GCC with Clang doesn't only yield Clang's warnings but also
    warnings about .texi documentation files.  In filter-clang-warnings.py
    we blacklisted some .texi files.  Blacklist all of them.
    
    contrib/ChangeLog:
    
            * filter-clang-warnings.py: Filter out all warnings comming from
            files with ".texi" in their name.
    
    Signed-off-by: Filip Kastl <[email protected]>

Diff:
---
 contrib/filter-clang-warnings.py | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/contrib/filter-clang-warnings.py b/contrib/filter-clang-warnings.py
index 5f61ec50d7da..db94ee325a87 100755
--- a/contrib/filter-clang-warnings.py
+++ b/contrib/filter-clang-warnings.py
@@ -73,13 +73,12 @@ def skip_warning(filename, message):
             # Rust peopel promised to clean these warnings too
             'rust/': ['-Wunused-private-field'],
                  'libiberty/sha1.c': ['-Wc23-extensions'],
-            'avr-mmcu.texi': [''],
-            'gfortran.texi': [''],
-            'install.texi': [''],
-            'libgccjit.texi': [''],
             'libtool': ['']
     }
 
+    if ".texi" in filename:
+        return True
+
     for name, ignore in ignores.items():
         for i in ignore:
             if name in filename and i in message:

Reply via email to