]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: remove xfails from analyzer test [PR108400,PR124116]
authorDavid Malcolm <dmalcolm@redhat.com>
Thu, 19 Feb 2026 02:58:32 +0000 (21:58 -0500)
committerDavid Malcolm <dmalcolm@redhat.com>
Thu, 19 Feb 2026 02:58:32 +0000 (21:58 -0500)
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 <dmalcolm@redhat.com>
gcc/testsuite/c-c++-common/analyzer/null-deref-pr108400-SoftEtherVPN-WebUi.c

index 1ae93b1fa2122a9b1ccf344751ded33d2c308371..c12177a464c0c39d05e7251002483e0ef10ed399 100644 (file)
@@ -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);