The new gcc.target/i386/prefetchwt1-1.c test currently FAILs on Solaris 9/x86:

FAIL: gcc.target/i386/prefetchwt1-1.c (test for excess errors)
Excess errors:
/var/gcc/regression/trunk/9-gcc-gas/build/gcc/include/xmmintrin.h:1195:1: error:
 inlining failed in call to always_inline '_mm_prefetch': target specific option
 mismatch
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.target/i386/prefetchwt1-1.c:12:5:
error: called from here

gcc.target/i386/prefetchwt1-1.c: output file does not exist
UNRESOLVED: gcc.target/i386/prefetchwt1-1.c scan-assembler [ \\t]+prefetchwt1[ \
\t]+

This can be fixed by compiling with -msse2.

Tested with the appropriate runtest invocation on i386-pc-solaris2.9,
i386-pc-solaris2.11, and x86_64-unknown-linux-gnu.

Ok for mainline?

        Rainer


2014-03-03  Rainer Orth  <r...@cebitec.uni-bielefeld.de>

        * gcc.target/i386/prefetchwt1-1.c: Add -msse2 to dg-options.

# HG changeset patch
# Parent 0b7661d6f1837948f92eeafc1be90622bf52c7f5
Fix gcc.target/i386/prefetchwt1-1.c on Solaris 9/x86

diff --git a/gcc/testsuite/gcc.target/i386/prefetchwt1-1.c b/gcc/testsuite/gcc.target/i386/prefetchwt1-1.c
--- a/gcc/testsuite/gcc.target/i386/prefetchwt1-1.c
+++ b/gcc/testsuite/gcc.target/i386/prefetchwt1-1.c
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-mprefetchwt1 -O2" } */
+/* { dg-options "-msse2 -mprefetchwt1 -O2" } */
 /* { dg-final { scan-assembler "\[ \\t\]+prefetchwt1\[ \\t\]+" } } */
 
 #include <x86intrin.h>
-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to