projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01dd586
)
testsuite: expect additional warning in analyzer/pr93993.f90
author
David Edelsohn
<dje.gcc@gmail.com>
Tue, 30 Jun 2020 17:42:53 +0000
(13:42 -0400)
committer
David Edelsohn
<dje.gcc@gmail.com>
Tue, 30 Jun 2020 17:44:26 +0000
(13:44 -0400)
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.
gcc/testsuite/gfortran.dg/analyzer/pr93993.f90
patch
|
blob
|
history
diff --git
a/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90
b/gcc/testsuite/gfortran.dg/analyzer/pr93993.f90
index
230b99e
..
7a01095
100644
(file)
--- 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