From: David Malcolm Date: Wed, 6 Jan 2021 01:51:50 +0000 (-0500) Subject: analyzer: remove xfail [PR98223] X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=df1eba3ceada6e8990c00ccfa6c5a2c9b1c13334;p=gcc.git 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. --- 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; }