From 475ac184f4760cacab39ae64fdaeaf883b740b32 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 9 Oct 2018 12:40:45 +0100 Subject: Use -fno-show-column in libstdc++ installed testing. 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. Backport from mainline 2018-10-02 Joseph Myers * testsuite/lib/libstdc++.exp (libstdc++_init): Use -fno-show-column in default cxxflags. From-SVN: r264955 --- libstdc++-v3/ChangeLog | 8 ++++++++ libstdc++-v3/testsuite/lib/libstdc++.exp | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 51d12d4bd42..9328e36138e 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,11 @@ +2018-10-08 Joseph Myers + + Backport from mainline + 2018-10-02 Joseph Myers + + * testsuite/lib/libstdc++.exp (libstdc++_init): Use + -fno-show-column in default cxxflags. + 2018-08-08 Jonathan Wakely Backport from mainline diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp index 18ee31882e1..70ddda93f10 100644 --- a/libstdc++-v3/testsuite/lib/libstdc++.exp +++ b/libstdc++-v3/testsuite/lib/libstdc++.exp @@ -235,7 +235,7 @@ proc libstdc++_init { testfile } { # Default settings. set cxx [transform "g++"] - set cxxflags "-D_GLIBCXX_ASSERT -fmessage-length=0" + set cxxflags "-D_GLIBCXX_ASSERT -fmessage-length=0 -fno-show-column" set cxxpchflags "" set cxxvtvflags "" set cxxldflags "" -- cgit v1.2.1