From df1eba3ceada6e8990c00ccfa6c5a2c9b1c13334 Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Tue, 5 Jan 2021 20:51:50 -0500 Subject: [PATCH] analyzer: remove xfail [PR98223] 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. 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.30.2