re PR libgomp/66950 (FAIL: libgomp.fortran/examples-4/simd-7.f90 -O0 execution...
authorMaxim Blumenthal <maxim.blumenthal@intel.com>
Wed, 22 Jul 2015 17:19:31 +0000 (17:19 +0000)
committerIlya Verbin <iverbin@gcc.gnu.org>
Wed, 22 Jul 2015 17:19:31 +0000 (17:19 +0000)
commit27c4ac7db7a74a7be0274f05af3e32e2161a6583
treea74c00aa96cbb32759da71a0fb1850a630b9e8a4
parent19e18903509cecc57e073de78e04f7603cf8e166
re PR libgomp/66950 (FAIL: libgomp.fortran/examples-4/simd-7.f90   -O0  execution test)

2015-07-22  Maxim Blumenthal  <maxim.blumenthal@intel.com>

PR libgomp/66950
* testsuite/libgomp.c/examples-4/simd-7.c (N): Change to 30 from 45.
(fib_ref): New function.
(fib): Correct corner cases in the recursion.
(main): Replace the non-simd loop with fib_ref call.
* testsuite/libgomp.fortran/examples-4/simd-7.f90: (fib_ref): New
subroutine.
(fibonacci): Lower the parameter N to 30.  Correct accordingly check
for the last array element value.  Replace the non-simd loop with
fib_ref call.  Remove redundant b_ref array.  Remove the comparison
of the last array element with according Fibonacci sequence element.
(fib): Correct corner cases in the recursion.

From-SVN: r226080
libgomp/ChangeLog
libgomp/testsuite/libgomp.c/examples-4/simd-7.c
libgomp/testsuite/libgomp.fortran/examples-4/simd-7.f90