https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66950
--- Comment #1 from iverbin at gcc dot gnu.org --- Author: iverbin Date: Wed Jul 22 17:19:31 2015 New Revision: 226080 URL: https://gcc.gnu.org/viewcvs?rev=226080&root=gcc&view=rev Log: 2015-07-22 Maxim Blumenthal <maxim.blument...@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. Modified: trunk/libgomp/ChangeLog trunk/libgomp/testsuite/libgomp.c/examples-4/simd-7.c trunk/libgomp/testsuite/libgomp.fortran/examples-4/simd-7.f90