From: Manuel López-Ibáñez Date: Wed, 11 Apr 2012 20:15:35 +0000 (+0000) Subject: prune.exp (TEST_ALWAYS_FLAGS): If undefined, set to empty. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=559d990c3ccdecf28ec35d30ce15e71f52e12068;p=gcc.git prune.exp (TEST_ALWAYS_FLAGS): If undefined, set to empty. 2012-04-11 Manuel López-Ibáñez testsuite/ * lib/prune.exp (TEST_ALWAYS_FLAGS): If undefined, set to empty. libgomp/ * testsuite/lib/libgomp.exp: Add -fno-diagnostics-show-caret. From-SVN: r186353 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1a22457a140..9b6a2d9b7c0 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2012-04-11 Manuel López-Ibáñez + + * lib/prune.exp (TEST_ALWAYS_FLAGS): If undefined, set to empty. + 2012-04-11 H.J. Lu PR rtl-optimization/52876 diff --git a/gcc/testsuite/lib/prune.exp b/gcc/testsuite/lib/prune.exp index d2ba49e9db0..60a4bd4b994 100644 --- a/gcc/testsuite/lib/prune.exp +++ b/gcc/testsuite/lib/prune.exp @@ -17,6 +17,9 @@ # Prune messages from gcc that aren't useful. +if ![info exists TEST_ALWAYS_FLAGS] { + set TEST_ALWAYS_FLAGS "" +} set TEST_ALWAYS_FLAGS "-fno-diagnostics-show-caret $TEST_ALWAYS_FLAGS" proc prune_gcc_output { text } { diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 66321424d45..bc6d5c47792 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,7 @@ +2012-04-11 Manuel López-Ibáñez + + * testsuite/lib/libgomp.exp: Add -fno-diagnostics-show-caret. + 2012-03-31 H.J. Lu PR bootstrap/52812 diff --git a/libgomp/testsuite/lib/libgomp.exp b/libgomp/testsuite/lib/libgomp.exp index 02909f8f2d7..cd561bf1576 100644 --- a/libgomp/testsuite/lib/libgomp.exp +++ b/libgomp/testsuite/lib/libgomp.exp @@ -161,6 +161,9 @@ proc libgomp_init { args } { # error-message parsing machinery. lappend ALWAYS_CFLAGS "additional_flags=-fmessage-length=0" + # Disable caret + lappend ALWAYS_CFLAGS "additional_flags=-fno-diagnostics-show-caret" + # And, gee, turn on OpenMP. lappend ALWAYS_CFLAGS "additional_flags=-fopenmp" }