This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Patch, fortran] Tighten nested_module_2.f90 testcase
- From: Janne Blomqvist <blomqvist dot janne at gmail dot com>
- To: Fortran List <fortran at gcc dot gnu dot org>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 12 Dec 2011 21:40:58 +0200
- Subject: [Patch, fortran] Tighten nested_module_2.f90 testcase
Hi,
committed as obvious.
2011-12-12 Janne Blomqvist <jb@gcc.gnu.org>
* gfortran.dg/nested_modules_2.f90: Tighten test.
Index: gfortran.dg/nested_modules_2.f90
===================================================================
--- gfortran.dg/nested_modules_2.f90 (revision 182257)
+++ gfortran.dg/nested_modules_2.f90 (revision 182258)
@@ -33,7 +33,7 @@ program testfoobar
call sub1 (l)
i = 1
call sub2 (l)
- if (all (l.ne.(/84,42,0/))) call abort ()
+ if (any (l.ne.(/84,42,0/))) call abort ()
end program testfoobar
! { dg-final { cleanup-modules "foo bar foobar" } }
--
Janne Blomqvist