This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Fix declare-simd-4.f90 test
- From: Jakub Jelinek <jakub at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 26 Jan 2017 12:22:13 +0100
- Subject: [committed] Fix declare-simd-4.f90 test
- Authentication-results: sourceware.org; auth=none
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
Hi!
I've noticed this test leaves behind declare_simd_2_mod.mod
file. The standard module search can't figure it out because
include is used, thus it has to be specified manually.
Fixed thusly, regtested on x86_64-linux, committed to trunk.
2017-01-26 Jakub Jelinek <jakub@redhat.com>
* testsuite/libgomp.fortran/declare-simd-4.f90: Add cleanup-modules
directive.
--- libgomp/testsuite/libgomp.fortran/declare-simd-4.f90.jj 2016-02-16 14:24:57.000000000 +0100
+++ libgomp/testsuite/libgomp.fortran/declare-simd-4.f90 2017-01-26 10:59:51.831468261 +0100
@@ -3,5 +3,6 @@
! { dg-additional-sources declare-simd-3.f90 }
! { dg-additional-options "-msse2" { target sse2_runtime } }
! { dg-additional-options "-mavx" { target avx_runtime } }
+! { dg-final { cleanup-modules "declare_simd_2_mod" } }
include 'declare-simd-2.f90'
Jakub