public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [testsuite] Remove dg-do run from gcc.dg/vect/pr48377.c
@ 2011-04-18 15:44 Rainer Orth
  0 siblings, 0 replies; only message in thread
From: Rainer Orth @ 2011-04-18 15:44 UTC (permalink / raw)
  To: gcc-patches; +Cc: Jakub Jelinek

The gcc.dg/vect/pr48377.c execution test is currently failing on Solaris
8/x86 and Solaris/SPARC.  On Solaris 8/x86, this happens because the
test is compiled with -msse2, but the OS cannot execute SSE2 insns.
This is usually taken care of by vect.exp, which only runs the tests as
compile tests if the platform supports vector insns.  An unconditional
dg-do run defeats this test, so removing it fixes the problem.

Tested with the appropriate runtest invocation on i386-pc-solaris2.8
(compile only) and i386-pc-solaris2.10 (run).

Installed on mainline.

The failure on SPARC remains, though.  The test SEGVs here:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1 (LWP 1)]
0x00010a44 in foo (s=0x20d81 "", len=26)
    at /vol/gcc/src/svn/trunk/gcc/testsuite/gcc.dg/vect/pr48377.c:12
12          hash += *p++;
(gdb) p p
$1 = (const U *) 0x20d81

	Rainer


2011-04-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* gcc.dg/vect/pr48377.c: Remove dg-do run.

Index: gcc/testsuite/gcc.dg/vect/pr48377.c
===================================================================
--- gcc/testsuite/gcc.dg/vect/pr48377.c	(revision 172652)
+++ gcc/testsuite/gcc.dg/vect/pr48377.c	(working copy)
@@ -1,5 +1,4 @@
 /* PR tree-optimization/48377 */
-/* { dg-do run } */
 
 typedef unsigned int U __attribute__((__aligned__ (1), __may_alias__));
 

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-04-18 15:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-18 15:44 [testsuite] Remove dg-do run from gcc.dg/vect/pr48377.c Rainer Orth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).