https://gcc.gnu.org/g:6369b94d5b6b5c5db033b0960eb7cce9af2f6880

commit r15-10858-g6369b94d5b6b5c5db033b0960eb7cce9af2f6880
Author: Torbjörn SVENSSON <[email protected]>
Date:   Fri Feb 13 15:51:51 2026 +0100

    testsuite: drop xfail for dg-bogus in zlib-3.c [PR124065]
    
    After r15-10673-ge869244a134c84, the bogus warning is no longer emitted.
    
    gcc/testsuite/ChangeLog:
    
            PR testsuite/124065
            * gcc.dg/analyzer/zlib-3.c: Drop xfail.
    
    Signed-off-by: Torbjörn SVENSSON <[email protected]>

Diff:
---
 gcc/testsuite/gcc.dg/analyzer/zlib-3.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/analyzer/zlib-3.c 
b/gcc/testsuite/gcc.dg/analyzer/zlib-3.c
index def83006a716..2f63803b80fc 100644
--- a/gcc/testsuite/gcc.dg/analyzer/zlib-3.c
+++ b/gcc/testsuite/gcc.dg/analyzer/zlib-3.c
@@ -184,7 +184,7 @@ static int huft_build(uInt *b, uInt n, uInt s, const uInt 
*d, const uInt *e,
       mask = (1 << w) - 1;
       /* The analyzer thinks that h can be -1 here.
          This is probably a false positive. */
-      while ((i & mask) !=  x[h]) { /* { dg-bogus "under-read" "" { xfail 
*-*-* } } */
+      while ((i & mask) !=  x[h]) { /* { dg-bogus "under-read" } */
         h--;
         w -= l;
         mask = (1 << w) - 1;

Reply via email to