public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Eric Botcazou <ebotcazou@adacore.com>
To: gcc-patches@gcc.gnu.org
Subject: Fix PR testsuite/49542
Date: Wed, 06 Jul 2011 09:04:00 -0000	[thread overview]
Message-ID: <201107061038.03870.ebotcazou@adacore.com> (raw)

[-- 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" } } */
-  

                 reply	other threads:[~2011-07-06  8:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201107061038.03870.ebotcazou@adacore.com \
    --to=ebotcazou@adacore.com \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).