[llvm-commits] [llvm-gcc-4.2] r51451 - in /llvm-gcc-4.2/trunk/gcc/testsuite: g++.dg/gomp/macro-3.C g++.dg/vect/vect.exp gcc.dg/gomp/macro-3.c
Dale Johannesen
dalej at apple.com
Thu May 22 16:41:35 PDT 2008
Author: johannes
Date: Thu May 22 18:41:35 2008
New Revision: 51451
URL: http://llvm.org/viewvc/llvm-project?rev=51451&view=rev
Log:
Some tests are now failing due to disabling some
of the -fdump options. Deal with this.
Modified:
llvm-gcc-4.2/trunk/gcc/testsuite/g++.dg/gomp/macro-3.C
llvm-gcc-4.2/trunk/gcc/testsuite/g++.dg/vect/vect.exp
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/gomp/macro-3.c
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/g++.dg/gomp/macro-3.C
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/g%2B%2B.dg/gomp/macro-3.C?rev=51451&r1=51450&r2=51451&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/g++.dg/gomp/macro-3.C (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/g++.dg/gomp/macro-3.C Thu May 22 18:41:35 2008
@@ -1,5 +1,6 @@
// PR preprocessor/27746
// { dg-do compile }
+// { dg-require-fdump "" }
// { dg-options "-fopenmp -fdump-tree-omplower" }
#define omp FOO
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/g++.dg/vect/vect.exp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/g%2B%2B.dg/vect/vect.exp?rev=51451&r1=51450&r2=51451&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/g++.dg/vect/vect.exp (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/g++.dg/vect/vect.exp Thu May 22 18:41:35 2008
@@ -39,9 +39,16 @@
set DEFAULT_VECTCFLAGS ""
# These flags are used for all targets.
-lappend DEFAULT_VECTCFLAGS "-O2" "-ftree-vectorize" \
- "-ftree-vectorizer-verbose=4" "-fdump-tree-vect-stats"
-
+# LLVM LOCAL begin tree-vect-stats dump is disabled
+# Seems to be useless for test purposes, so just disable it.
+if { [ is_llvm ] } {
+ lappend DEFAULT_VECTCFLAGS "-O2" "-ftree-vectorize" \
+ "-ftree-vectorizer-verbose=4"
+} else {
+ lappend DEFAULT_VECTCFLAGS "-O2" "-ftree-vectorize" \
+ "-ftree-vectorizer-verbose=4" "-fdump-tree-vect-stats"
+}
+# LLVM LOCAL end
# Skip these tests for targets that do not support generating vector
# code. Set additional target-dependent vector flags, which can be
# overridden by using dg-options in individual tests.
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/gomp/macro-3.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/gomp/macro-3.c?rev=51451&r1=51450&r2=51451&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/gomp/macro-3.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.dg/gomp/macro-3.c Thu May 22 18:41:35 2008
@@ -1,5 +1,6 @@
/* PR preprocessor/27746 */
/* { dg-do compile } */
+/* { dg-require-fdump "" } */
/* { dg-options "-fopenmp -fdump-tree-omplower" } */
#define omp FOO
More information about the llvm-commits
mailing list