prune.exp (TEST_ALWAYS_FLAGS): If undefined, set to empty.

2012-04-11  Manuel López-Ibáñez  <manu@gcc.gnu.org>

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
This commit is contained in:
Manuel López-Ibáñez 2012-04-11 20:15:35 +00:00
parent 98bf037773
commit 559d990c3c
4 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2012-04-11 Manuel López-Ibáñez <manu@gcc.gnu.org>
* lib/prune.exp (TEST_ALWAYS_FLAGS): If undefined, set to empty.
2012-04-11 H.J. Lu <hongjiu.lu@intel.com>
PR rtl-optimization/52876

View File

@ -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 } {

View File

@ -1,3 +1,7 @@
2012-04-11 Manuel López-Ibáñez <manu@gcc.gnu.org>
* testsuite/lib/libgomp.exp: Add -fno-diagnostics-show-caret.
2012-03-31 H.J. Lu <hongjiu.lu@intel.com>
PR bootstrap/52812

View File

@ -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"
}