public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/47057] New: FAIL/XPASS gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c
Date: Thu, 23 Dec 2010 21:19:00 -0000	[thread overview]
Message-ID: <bug-47057-4@http.gcc.gnu.org/bugzilla/> (raw)

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47057

           Summary: FAIL/XPASS
                    gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dominiq@lps.ens.fr
            Target: powerpc*-*-*


The test gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c gives

XPASS: gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c
scan-tree-dump-times vect "OUTER LOOP VECTORIZED" 2
FAIL: gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c scan-tree-dump-times
vect "OUTER LOOP VECTORIZED" 1

Obviously if there are two outer loops vectorized, there cannot be only one
vectorized! The following patch fixes the test

---
../_gcc_clean/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c
   2007-11-21 20:18:34.000000000 +0100
+++
../gcc-4.6-work/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c
   2010-12-23 22:02:28.000000000 +0100
@@ -71,6 +71,6 @@ int main (void)
   return 0;
 }

-/* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED" 2 "vect" { xfail
*-*-* } } } */
-/* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED" 1 "vect" { xfail
vect_no_align } } } */
+/* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED" 2 "vect" { xfail
vect_no_align } } } */
+/* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED" 1 "vect" { xfail
{ ! vect_no_align } } } } */
 /* { dg-final { cleanup-tree-dump "vect" } } */


             reply	other threads:[~2010-12-23 21:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-23 21:19 dominiq at lps dot ens.fr [this message]
2010-12-25 11:50 ` [Bug testsuite/47057] " irar at il dot ibm.com
2010-12-25 12:54 ` irar at gcc dot gnu.org
2010-12-25 12:55 ` irar at il dot ibm.com

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=bug-47057-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@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).