This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix bug 59586
- From: Roman Gareev <gareevroman at gmail dot com>
- To: Tobias Grosser <tobias at grosser dot es>, gcc-patches at gcc dot gnu dot org
- Date: Mon, 10 Mar 2014 20:51:58 +0600
- Subject: Re: [PATCH] Fix bug 59586
- Authentication-results: sourceware.org; auth=none
- References: <CABGF_gc0hoxaHFZQxG+okg-+OAwfRnG0YjdhnDJg8e5MgkM5vw at mail dot gmail dot com> <531DCADA dot 30105 at grosser dot es>
> 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