[testsuite] Don't ICE in gcc.target/i386/pr38240.c (PR target/45325)

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Mon Jan 31 14:54:00 GMT 2011


As Richard suggested in the PR, compiling the testcase with -msse avoids
the ICE.

Tested on i386-pc-solaris2.9 and i386-pc-solaris2.11 (both multilibs)
with the appropriate runtest invocations.

Ok for mainline?

	Rainer


2011-01-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	PR target/45325
	* gcc.target/i386/pr38240.c: Add dg-options "-msse".

diff -r 3876a9487b26 gcc/testsuite/gcc.target/i386/pr38240.c
--- a/gcc/testsuite/gcc.target/i386/pr38240.c	Fri Jan 28 15:07:37 2011 +0000
+++ b/gcc/testsuite/gcc.target/i386/pr38240.c	Fri Jan 28 21:36:35 2011 +0100
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-options "-msse" } */
 
 typedef float V
   __attribute__ ((__vector_size__ (16), __may_alias__));


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



More information about the Gcc-patches mailing list