From: Joseph Myers Date: Tue, 9 Oct 2018 11:37:18 +0000 (+0100) Subject: Use -fno-show-column in libstdc++ installed testing. X-Git-Tag: releases/gcc-7.4.0~122 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9956b2213b172dd76d7881625f8b1d5022e652d1;p=thirdparty%2Fgcc.git 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: r264953 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 922e04260800..aaf5f12853f3 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-10-08 Jonathan Wakely Backport from mainline diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp index b081d8a5b900..cd929d8cb4e3 100644 --- a/libstdc++-v3/testsuite/lib/libstdc++.exp +++ b/libstdc++-v3/testsuite/lib/libstdc++.exp @@ -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 ""