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
parent 98bf0377
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
......
......@@ -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 } {
......
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
......
......@@ -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"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment