The bogus leak message went away after
fcae5121154d1c3382b056bcc2c563cedac28e74 (aka "Hybrid EVRP and
testcases") due to that patch improving a phi node in the gimple input
to the analyzer.

Successfully regrtested on x86_64-pc-linux-gnu.
Pushed to master as r11-6495-gdf1eba3ceada6e8990c00ccfa6c5a2c9b1c13334.

gcc/testsuite/ChangeLog:
        PR analyzer/98223
        * gcc.dg/analyzer/pr94851-1.c: Remove xfail.
---
 gcc/testsuite/gcc.dg/analyzer/pr94851-1.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gcc/testsuite/gcc.dg/analyzer/pr94851-1.c 
b/gcc/testsuite/gcc.dg/analyzer/pr94851-1.c
index da79652c570..34960e264cd 100644
--- a/gcc/testsuite/gcc.dg/analyzer/pr94851-1.c
+++ b/gcc/testsuite/gcc.dg/analyzer/pr94851-1.c
@@ -40,8 +40,7 @@ int pamark(void) {
       last->m_next = p;
   }
 
-  p->m_name = (char)c; /* { dg-bogus "leak of 'p'" "bogus leak" { xfail *-*-* 
} } */
-  // TODO(xfail): related to PR analyzer/97072 and PR analyzer/97074
+  p->m_name = (char)c; /* { dg-bogus "leak of 'p'" "bogus leak" } */
 
   return 1;
 }
-- 
2.26.2

Reply via email to