[testsuite, i386] Fix gcc.target/i386/prefetchwt1-1.c on Solaris 9/x86

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Mon Mar 3 12:11:00 GMT 2014


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  <ro@CeBiTec.Uni-Bielefeld.DE>

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: testsuite-i386-prefetchwt1-1.patch
Type: text/x-patch
Size: 565 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140303/f49458d4/attachment.bin>
-------------- next part --------------

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University


More information about the Gcc-patches mailing list