I get FAIL: gfortran.dg/vect/fast-math-pr33299.f90 execution test
Apparently, the check for dg-require-effective-target vect_double doesn't work. This is on my Athlon XP 2600+, which does not have SSE2. The options for that test case do include the -msse2 flag, which is wrong: Executing on host: /home/ig25/gcc-bin/trunk/gcc/testsuite/gfortran/../../gfortran -B/home/ig25/gcc-bin/trunk/gcc/tests uite/gfortran/../../ /home/ig25/gcc/trunk/gcc/testsuite/gfortran.dg/vect/fast-math-pr33299.f90 -O2 -ftree-vectorize -ftree-vectorizer-verbose=4 -fdump-tree-vect-stats -msse2 -ffast-math -L/home/ig25/gcc-bin/trunk/i686-pc-linux-gnu/./ libgfortran/.libs -L/home/ig25/gcc-bin/trunk/i686-pc-linux-gnu/./libgfortran/.libs -L/home/ig25/gcc-bin/trunk/i686-pc- linux-gnu/./libiberty -lm -o ./fast-math-pr33299.exe (timeout = 300) When I run the options by hand, I get an "illegal instruction" error: gfortran -O2 -ftree-vectorize -ftree-vectorizer-verbose=4 -fdump-tree-vect-stats -msse2 -ffast-math fast-math-pr33299.f90 $ ./a.out Illegal instruction $ cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 6 model : 8 model name : AMD Athlon(TM) XP 2600+ stepping : 1 cpu MHz : 2083.200 cache size : 256 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow up ts bogomips : 4170.03 clflush size : 32 -- Summary: dg-require-effective-target vect_double doesn't work Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tkoenig at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34168