> I am slightly surprised why this change is necessary. Roman, can you shade > some light on this change. > > >> # Vectorizer tests, to be run or compiled, depending on target >> capabilities. >> if [check_vect_support_and_set_flags] { >> diff --git a/gcc/testsuite/gfortran.dg/graphite/parallelize-all-1.f >> b/gcc/testsuite/gfortran.dg/graphite/parallelize-all-1.f >> new file mode 100644 >> index 0000000..e1156f8 >> --- /dev/null >> +++ b/gcc/testsuite/gfortran.dg/graphite/parallelize-all-1.f >> @@ -0,0 +1,9 @@ >> + subroutine subsm ( n, x, xp, xx) >> + integer n, m, x(n),xp(n), xx(n), gg(n), dd_p >> + do 55 i=1, n >> + dd_p = dd_p + (x(i) - xx(i))*gg(i) >> + 55 continue >> + if ( dd_p .gt. 0 ) then >> + call dcopy( n, xp, 1, x, 1 ) >> + endif >> + end >> >
I tried to add a testcase, which uses example introduced in bug report. Sorry for making an error in encoding options. -- Roman Gareev