===================================================================
@@ -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
===================================================================
@@ -161,6 +161,9 @@
# 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"
}
===================================================================
@@ -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 } {
===================================================================
@@ -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.
+
../../../../src-trunk/libitm/testsuite/../../gcc/testsuite/lib/prune.exp.