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

login
register
mail settings
Submitter Rainer Orth
Date Jan. 31, 2011, 2:26 p.m.
Message ID <yddaaih9mk4.fsf@manam.CeBiTec.Uni-Bielefeld.DE>
Download mbox | patch
Permalink /patch/81118/
State New
Headers show

Comments

Rainer Orth - Jan. 31, 2011, 2:26 p.m.
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".
Richard Guenther - Jan. 31, 2011, 2:49 p.m.
On Mon, 31 Jan 2011, Rainer Orth wrote:

> 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?

Ok.

Thanks,
Richard.


> 	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__));

Patch

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__));