Use -fno-show-column in libstdc++ installed testing.

<https://gcc.gnu.org/ml/libstdc++/2016-08/msg00006.html> arranged for
libstdc++ tests to use -fno-show-column by default, but only for
build-tree testing.  This patch adds it to the options used for
installed testing as well.

Tested with installed testing for a cross to x86_64-linux-gnu, where
it fixes various test failures.

	* testsuite/lib/libstdc++.exp (libstdc++_init): Use
	-fno-show-column in default cxxflags.

From-SVN: r264784
This commit is contained in:
Joseph Myers 2018-10-02 13:46:32 +01:00 committed by Joseph Myers
parent 15b946f77d
commit 1c02928295
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2018-10-02 Joseph Myers <joseph@codesourcery.com>
* testsuite/lib/libstdc++.exp (libstdc++_init): Use
-fno-show-column in default cxxflags.
2018-10-01 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
* config/os/uclibc/os_defines.h (__NO_STRING_INLINES): Delete.

View File

@ -239,7 +239,7 @@ proc libstdc++_init { testfile } {
# Default settings.
set cxx [transform "g++"]
set cxxflags "-fmessage-length=0"
set cxxflags "-fmessage-length=0 -fno-show-column"
set cxxpchflags ""
set cxxvtvflags ""
set cxxldflags ""