]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Use -fno-show-column in libstdc++ installed testing.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 9 Oct 2018 11:37:18 +0000 (12:37 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Tue, 9 Oct 2018 11:37:18 +0000 (12:37 +0100)
<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.

Backport from mainline
2018-10-02  Joseph Myers  <joseph@codesourcery.com>

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

From-SVN: r264953

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/lib/libstdc++.exp

index 922e0426080066064ab2bd2c5fb753dcf43dbb35..aaf5f12853f34954ca5e21ebaea7a3eece6e87f4 100644 (file)
@@ -1,3 +1,11 @@
+2018-10-08  Joseph Myers  <joseph@codesourcery.com>
+
+       Backport from mainline
+       2018-10-02  Joseph Myers  <joseph@codesourcery.com>
+
+       * testsuite/lib/libstdc++.exp (libstdc++_init): Use
+       -fno-show-column in default cxxflags.
+
 2018-10-08  Jonathan Wakely  <jwakely@redhat.com>
 
        Backport from mainline
index b081d8a5b9007144de77cdccdc54a8b3aa14d93c..cd929d8cb4e3997f18e0930932555b283c200b08 100644 (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 ""