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]

[patch] fix xpass-ing testcase


Both loops in gfortran.dg/vect/no-vfa-pr32377.f90 now get vectorized (as of
Sebastian's fix to PR32377), and so the test is fixed accordingly.

Tested on powerpc64-linux and i386-linux, committed to mainline.

dorit

      * gfortran.dg/vect/no-vfa-pr32377.f90: Remove xfail.

Index: gfortran.dg/vect/no-vfa-pr32377.f90
===================================================================
*** gfortran.dg/vect/no-vfa-pr32377.f90 (revision 129879)
--- gfortran.dg/vect/no-vfa-pr32377.f90 (working copy)
***************
*** 1,4 ****
--- 1,5 ----
  ! { dg-do compile }
+ ! { dg-require-effective-target vect_float }

  subroutine s243(ntimes,ld,n,ctime,dtime,a,b,c,d,e,aa,bb,cc)

*************** real t1,t2,chksum,ctime,dtime,cs1d
*** 10,20 ****
    return
  end

! ! Currently only the first loop gets vectorized.
! ! For the second loop vectorization fails because of
! ! "affine-affine test failed: missing iteration counts."
! ! See PR 32377 for more details.
!
! ! { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" { xfail
*-*-* }  } }
  ! { dg-final { cleanup-tree-dump "vect" } }

--- 11,16 ----
    return
  end

! ! { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect"   } }
  ! { dg-final { cleanup-tree-dump "vect" } }


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