https://gcc.gnu.org/g:bfa59652d2e98febf67085be091c1de7b9d1ac22

commit r16-7579-gbfa59652d2e98febf67085be091c1de7b9d1ac22
Author: David Malcolm <[email protected]>
Date:   Wed Feb 18 21:58:32 2026 -0500

    testsuite: remove xfails from analyzer test [PR108400,PR124116]
    
    gcc/testsuite/ChangeLog:
            PR analyzer/108400
            PR analyzer/124116
            * c-c++-common/analyzer/null-deref-pr108400-SoftEtherVPN-WebUi.c:
            Remove xfails; these false positives appears to have been fixed by
            r16-7365-g498fb8a24516b1.
    
    Signed-off-by: David Malcolm <[email protected]>

Diff:
---
 .../c-c++-common/analyzer/null-deref-pr108400-SoftEtherVPN-WebUi.c    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/gcc/testsuite/c-c++-common/analyzer/null-deref-pr108400-SoftEtherVPN-WebUi.c 
b/gcc/testsuite/c-c++-common/analyzer/null-deref-pr108400-SoftEtherVPN-WebUi.c
index 1ae93b1fa212..c12177a464c0 100644
--- 
a/gcc/testsuite/c-c++-common/analyzer/null-deref-pr108400-SoftEtherVPN-WebUi.c
+++ 
b/gcc/testsuite/c-c++-common/analyzer/null-deref-pr108400-SoftEtherVPN-WebUi.c
@@ -60,8 +60,8 @@ void WuExpireSessionKey(WEBUI *wu)
 
        for(i=0; i<LIST_NUM(wu->Contexts); i++)
        {
-               STRMAP_ENTRY *entry = (STRMAP_ENTRY*)LIST_DATA(wu->Contexts, 
i); /* { dg-bogus "'entry' is NULL" "" { xfail c++ } } */
-               WU_CONTEXT *context = (WU_CONTEXT*)entry->Value; /* { dg-bogus 
"dereference of NULL 'entry'" "PR analyzer/108400" { xfail c++ } } */
+               STRMAP_ENTRY *entry = (STRMAP_ENTRY*)LIST_DATA(wu->Contexts, 
i); /* { dg-bogus "'entry' is NULL" } */
+               WU_CONTEXT *context = (WU_CONTEXT*)entry->Value; /* { dg-bogus 
"dereference of NULL 'entry'" "PR analyzer/108400" } */
                if(context->ExpireDate < Tick64())
                {
                        Add(Expired, entry);

Reply via email to