[gcc r11-1738] testsuite: expect additional warning in analyzer/pr93993.f90
David Edelsohn
dje@gcc.gnu.org
Tue Jun 30 17:47:27 GMT 2020
https://gcc.gnu.org/g:fe03543bfb8c88c3feb8076b5ff1690dc3903878
commit r11-1738-gfe03543bfb8c88c3feb8076b5ff1690dc3903878
Author: David Edelsohn <dje.gcc@gmail.com>
Date: Tue Jun 30 13:42:53 2020 -0400
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 <dje.gcc@gmail.com>
* gfortran.dg/analyzer/pr93993.f90: Expect leak tm warning.
Diff:
---
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
More information about the Gcc-cvs
mailing list