public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Fix PR testsuite/49542
@ 2011-07-06  9:04 Eric Botcazou
  0 siblings, 0 replies; only message in thread
From: Eric Botcazou @ 2011-07-06  9:04 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 609 bytes --]

This fixes the couple of failures that have appeared recently in the vectorizer 
testsuite on SPARC 64-bit.  Ira diagnosed that they are legitimate fallouts of 
a recent improvement to the vectorizer:
  http://gcc.gnu.org/ml/gcc-patches/2011-04/msg02210.html
so the attached patch simply XFAILs them.

Tested on SPARC/Solaris SPARC64/Solaris and x86/Linux, applied on the mainline.


2011-07-06  Eric Botcazou  <ebotcazou@adacore.com>

	PR testsuite/49542
	* gcc.dg/vect/pr33804.c: XFAIL if vect_no_align unconditionally.
	* gcc.dg/vect/slp-multitypes-3.c: XFAIL on SPARC unconditionally.


-- 
Eric Botcazou

[-- Attachment #2: p.diff --]
[-- Type: text/x-diff, Size: 1484 bytes --]

Index: gcc.dg/vect/pr33804.c
===================================================================
--- gcc.dg/vect/pr33804.c	(revision 175840)
+++ gcc.dg/vect/pr33804.c	(working copy)
@@ -11,6 +11,6 @@ void f(unsigned char *s, unsigned char *
     }
 }
 
-/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail  { vect_no_align && ilp32 } } } } */
-/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "vect" { xfail { vect_no_align && ilp32 } } } } */
+/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail vect_no_align } } } */
+/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "vect" { xfail vect_no_align } } } */
 /* { dg-final { cleanup-tree-dump "vect" } } */
Index: gcc.dg/vect/slp-multitypes-3.c
===================================================================
--- gcc.dg/vect/slp-multitypes-3.c	(revision 175840)
+++ gcc.dg/vect/slp-multitypes-3.c	(working copy)
@@ -87,7 +87,6 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail { sparc*-*-* && ilp32 } } } } */
-/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 2 "vect" { xfail { sparc*-*-* && ilp32 } }} } */
+/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail sparc*-*-* } } } */
+/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 2 "vect" { xfail sparc*-*-* } } } */
 /* { dg-final { cleanup-tree-dump "vect" } } */
-  

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

only message in thread, other threads:[~2011-07-06  8:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-06  9:04 Fix PR testsuite/49542 Eric Botcazou

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).