From fe03543bfb8c88c3feb8076b5ff1690dc3903878 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Tue, 30 Jun 2020 13:42:53 -0400 Subject: [PATCH] testsuite: expect additional warning in analyzer/pr93993.f90 The recent changes to warnings elicit an additional warning in analyzer/pr93993.f90. This patch updates the testcase to expect the warning. gcc/testsuite/ChangeLog 2020-06-30 David Edelsohn * gfortran.dg/analyzer/pr93993.f90: Expect leak tm warning. --- gcc/testsuite/gfortran.dg/analyzer/pr93993.f90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90 b/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90 index 230b99e4fcd..7a01095bfdc 100644 --- a/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90 +++ b/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90 @@ -18,7 +18,7 @@ contains allocate (tm) ! { dg-bogus "dereference of possibly-NULL" } ce => tm - end function hv + end function hv ! { dg-warning "leak of 'tm'" } end module gg -- 2.30.2