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  <ja...@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

Reply via email to