This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] PR18716 fix - adding a gfortran testcase question





I committed the patch, but I wasn't sure how/where to add the new gfortran
testcase?

Shall I create a new 'vect' directory under gfortran.dg, like the one under
gcc.dg, and copy over tree-vect.h and vect.exp from gcc.dg/vect? Is this
how it should look like:

! { gd-do compile }
! { dg-require-effective-target vect_float }
subroutine test(n, v)
  implicit none
  integer :: n, i
  real(4) :: v(n)

  do i = 1, n
    v(i) = 0
  end do

  return
end
! { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } }

?

thanks,
dorit





                                                                                                                                 
                      Diego Novillo                                                                                              
                      <dnovillo@redhat.        To:       Dorit Naishlos/Haifa/IBM@IBMIL                                          
                      com>                     cc:       "gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>                     
                                               Subject:  Re: [patch] PR18716 fix                                                 
                      02/12/2004 00:17                                                                                           
                                                                                                                                 




On Wed, 2004-12-01 at 23:51 +0200, Dorit Naishlos wrote:

>         * tree-vectorizer.c (slpeel_make_loop_iterate_ntimes): Properly
set
>         then and else labels.
>
OK.


Diego.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]