Patchwork Added test case for PR 32373, missed vectorization with equivalence

login
register
mail settings
Submitter Dominique Dhumieres
Date Feb. 6, 2012, 10:59 a.m.
Message ID <20120206105910.BF6F13BE18@mailhost.lps.ens.fr>
Download mbox | patch
Permalink /patch/139711/
State New
Headers show

Comments

Dominique Dhumieres - Feb. 6, 2012, 10:59 a.m.
Thomas,

The test fails on powerpc-apple-darwin9 because double are not
vectorized. I think the following patch is required:


TIA

Dominique

Patch

--- /opt/gcc/_gcc_clean/gcc/testsuite/gfortran.dg/vect/vect-8.f90	2012-02-05 23:32:31.000000000 +0100
+++ /opt/gcc/work/gcc/testsuite/gfortran.dg/vect/vect-8.f90	2012-02-06 11:17:54.000000000 +0100
@@ -1,5 +1,5 @@ 
 ! { dg-do compile }
-! { dg-require-effective-target vect_float }
+! { dg-require-effective-target vect_double }
 
 module lfk_prec
  integer, parameter :: dp=kind(1.d0)