This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch] Fix the tests gcc.dg/vect/vect-8[23]_64.c
- From: Sharad Singhai <singhai at google dot com>
- To: Dominique Dhumieres <dominiq at lps dot ens dot fr>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, David Edelsohn <dje dot gcc at gmail dot com>, Richard Biener <richard dot guenther at gmail dot com>
- Date: Tue, 23 Oct 2012 11:21:39 -0700
- Subject: Re: [Patch] Fix the tests gcc.dg/vect/vect-8[23]_64.c
- References: <20121023135237.0657B3BABA@mailhost.lps.ens.fr>
+cc richard.guenther@gmail.com
If it is approved, I will be happy to commit it for you.
Thanks,
Sharad
Sharad
On Tue, Oct 23, 2012 at 6:52 AM, Dominique Dhumieres <dominiq@lps.ens.fr> wrote:
> Following the changes in [PATCH] Add option for dumping to stderr (issue6190057)
> the tests gcc.dg/vect/vect-8[23]_64.c fails on powerpc*-*-*.
> This patch adjust the dump files and has been tested on powerpc-apple-darwin9.
>
> If approved could someone commit it for me (no write access).
>
> Note that these tests use both dg-do run and dg-do compile which is not
> supported (see http://gcc.gnu.org/ml/gcc/2012-10/msg00226.html and
> the rest of the thread).
>
> TIA
>
> Dominique
>
> gcc/testsuite/ChangeLog
> 2012-10-23 Dominique d'Humieres <dominiq@lps.ens.fr>
>
> * gcc.dg/vect/vect-82_64.c: Adjust the dump file.
> * gcc.dg/vect/vect-83_64.c: Likewise.
>
> diff -up gcc/testsuite/gcc.dg/vect/vect-82_64.c ../work/gcc/testsuite/gcc.dg/vect/vect-82_64.c
> --- gcc/testsuite/gcc.dg/vect/vect-82_64.c 2007-11-21 20:18:48.000000000 +0100
> +++ ../work/gcc/testsuite/gcc.dg/vect/vect-82_64.c 2012-10-08 13:52:25.000000000 +0200
> @@ -1,6 +1,6 @@
> /* { dg-do run { target { { powerpc*-*-* && lp64 } && powerpc_altivec_ok } } } */
> /* { dg-do compile { target { { powerpc*-*-* && ilp32 } && powerpc_altivec_ok } } } */
> -/* { dg-options "-O2 -ftree-vectorize -mpowerpc64 -fdump-tree-vect-stats -maltivec" } */
> +/* { dg-options "-O2 -ftree-vectorize -mpowerpc64 -fdump-tree-vect-details -maltivec" } */
>
> #include <stdarg.h>
> #include "tree-vect.h"
> diff -up gcc/testsuite/gcc.dg/vect/vect-83_64.c ../work/gcc/testsuite/gcc.dg/vect/vect-83_64.c
> --- gcc/testsuite/gcc.dg/vect/vect-83_64.c 2007-11-21 20:18:48.000000000 +0100
> +++ ../work/gcc/testsuite/gcc.dg/vect/vect-83_64.c 2012-10-08 13:52:42.000000000 +0200
> @@ -1,6 +1,6 @@
> /* { dg-do run { target { { powerpc*-*-* && lp64 } && powerpc_altivec_ok } } } */
> /* { dg-do compile { target { { powerpc*-*-* && ilp32 } && powerpc_altivec_ok } } } */
> -/* { dg-options "-O2 -ftree-vectorize -mpowerpc64 -fdump-tree-vect-stats -maltivec" } */
> +/* { dg-options "-O2 -ftree-vectorize -mpowerpc64 -fdump-tree-vect-details -maltivec" } */
>
> #include <stdarg.h>
> #include "tree-vect.h"