http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59494

            Bug ID: 59494
           Summary: [4.9 Regression] FAIL:
                    gfortran.dg/vect/fast-math-mgrid-resid.f
                    scan-tree-dump-times optimized "vect_[^\\n]*\\+ " 13
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dominiq at lps dot ens.fr
                CC: hjl.tools at gmail dot com, howarth at bromo dot med.uc.edu,
                    jakub at gcc dot gnu.org

The test gfortran.dg/vect/fast-math-mgrid-resid.f fails after r203979 if gcc is
configured with --with-cpu=core* (default for darwin). This is silenced if
-mtune=generic is added to the dg-options list:

--- gcc/testsuite/gfortran.dg/vect/fast-math-mgrid-resid.f    2013-04-08
15:53:21.000000000 +0200
+++ ../work/gcc/testsuite/gfortran.dg/vect/fast-math-mgrid-resid.f   
2013-12-12 21:51:53.000000000 +0100
@@ -1,7 +1,7 @@
 ! { dg-do compile { target i?86-*-* x86_64-*-* } }
 ! { dg-require-effective-target vect_double }
 ! { dg-require-effective-target sse2 }
-! { dg-options "-O3 -ffast-math -msse2 -fpredictive-commoning -ftree-vectorize
-fdump-tree-optimized" }
+! { dg-options "-mtune=generic -O3 -ffast-math -msse2 -fpredictive-commoning
-ftree-vectorize -fdump-tree-optimized" }


 ******* RESID COMPUTES THE RESIDUAL:  R = V - AU

Reply via email to