* gfortran.dg/vect/pr36119.f: Rename to ...
* gfortran.dg/vect/O3-pr36119.f90: ... this. Compile for all targets
with -O3.
From-SVN: r135209
+2008-05-05 Ira Rosen <irar@il.ibm.com>
+
+ * gfortran.dg/vect/pr36119.f: Rename to ...
+ * gfortran.dg/vect/O3-pr36119.f90: ... this. Compile for all targets
+ with -O3.
+
2008-05-11 Adam Nemet <anemet@caviumnetworks.com>
* gcc.target/mips/mips.exp: Move passing -DMIPS16=... from here ...
--- /dev/null
+! { dg-do compile }
+
+SUBROUTINE check_dnucint_ana (dcore)
+ IMPLICIT NONE
+ INTEGER, PARAMETER :: dp=8
+ REAL(dp), DIMENSION(10, 2), INTENT(IN),&
+ OPTIONAL :: dcore
+ INTEGER :: i, j
+ REAL(dp) :: delta, nssss, od, rn, ssssm, &
+ ssssp
+ REAL(dp), DIMENSION(10, 2) :: corem, corep, ncore
+ LOGICAL :: check_value
+
+ delta = 1.0E-8_dp
+ od = 0.5_dp/delta
+ ncore = od * (corep - corem)
+ nssss = od * (ssssp - ssssm)
+ IF (PRESENT(dcore)) THEN
+ DO i = 1, 2
+ DO j = 1, 10
+ IF (.NOT.check_value(ncore(j,i), dcore(j,i), delta, 0.1_dp)) THEN
+ END IF
+ END DO
+ END DO
+ END IF
+END SUBROUTINE check_dnucint_ana
+
+! { dg-final { cleanup-tree-dump "vect" } }
+++ /dev/null
-! { dg-do compile { target { i?86-*-* x86_64-*-* } } }
-! { dg-options "-O3 -mfpmath=sse -msse2 -ffree-form" }
-
-SUBROUTINE check_dnucint_ana (dcore)
- IMPLICIT NONE
- INTEGER, PARAMETER :: dp=8
- REAL(dp), DIMENSION(10, 2), INTENT(IN),&
- OPTIONAL :: dcore
- INTEGER :: i, j
- REAL(dp) :: delta, nssss, od, rn, ssssm, &
- ssssp
- REAL(dp), DIMENSION(10, 2) :: corem, corep, ncore
- LOGICAL :: check_value
-
- delta = 1.0E-8_dp
- od = 0.5_dp/delta
- ncore = od * (corep - corem)
- nssss = od * (ssssp - ssssm)
- IF (PRESENT(dcore)) THEN
- DO i = 1, 2
- DO j = 1, 10
- IF (.NOT.check_value(ncore(j,i), dcore(j,i), delta, 0.1_dp)) THEN
- END IF
- END DO
- END DO
- END IF
-END SUBROUTINE check_dnucint_ana
-
-! { dg-final { cleanup-tree-dump "vect" } }
dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/no-vfa-*.\[fF\]{,90,95,03,08} ]] \
"" $DEFAULT_VECTCFLAGS
+# With -O3
+set DEFAULT_VECTCFLAGS $SAVED_DEFAULT_VECTCFLAGS
+lappend DEFAULT_VECTCFLAGS "-O3"
+dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/O3-*.\[fF\]{,90,95,03,08} ]] \
+ "" $DEFAULT_VECTCFLAGS
+
# Clean up.
set dg-do-what-default ${save-dg-do-what-default}