Commit b4410f63 by H.J. Lu Committed by H.J. Lu

Add 2 tests for PR middle-end/71734

simd3.f90 and simd4.f90 fail only with -msse2.  But they are compiled
with -mavx on AVX machines.  Add 2 tests to compile simd3.f90 and
simd4.f90 with -msse2 on AVX machines.

	PR middle-end/71734
	* testsuite/libgomp.fortran/pr71734-1.f90: New test.
	* testsuite/libgomp.fortran/pr71734-2.f90: Likewise.

From-SVN: r237950
parent b537bedd
2016-07-03 H.J. Lu <hongjiu.lu@intel.com>
PR middle-end/71734
* testsuite/libgomp.fortran/pr71734-1.f90: New test.
* testsuite/libgomp.fortran/pr71734-2.f90: Likewise.
2016-07-01 Jakub Jelinek <jakub@redhat.com> 2016-07-01 Jakub Jelinek <jakub@redhat.com>
PR fortran/71717 PR fortran/71717
......
! { dg-do run { target avx_runtime } }
! { dg-additional-options "-msse2" }
! The same as simd3.f90, but compiled with -msse2. we run it only on
! AVX machine where simd3.f90 is compiled with -mavx.
include 'simd3.f90'
! { dg-do run { target avx_runtime } }
! { dg-additional-options "-msse2" }
! The same as simd4.f90, but compiled with -msse2. we run it only on
! AVX machine where simd4.f90 is compiled with -mavx.
include 'simd4.f90'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment