Patchwork Add option for dumping to stderr (issue6190057)

login
register
mail settings
Submitter Dominique Dhumieres
Date Oct. 10, 2012, 11:41 a.m.
Message ID <20121010114124.7D9453BE1B@mailhost.lps.ens.fr>
Download mbox | patch
Permalink /patch/190616/
State New
Headers show

Comments

Dominique Dhumieres - Oct. 10, 2012, 11:41 a.m.
Hi,

The tests gcc.dg/vect/vect-82_64.c and gcc.dg/vect/vect-83_64.c are
failing on powerpc*-*-* (see for instance
http://gcc.gnu.org/ml/gcc-testresults/2012-10/msg01054.html ).
This is fixed with the following patch


(tested on powerpc-apple-darwin9).

TIA

Dominique

Patch

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"