]> 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:40:45 +0000 (12:40 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Tue, 9 Oct 2018 11:40:45 +0000 (12:40 +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: r264955

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

index 51d12d4bd42db79da5f6820688313c8ef2653808..9328e36138e11a31182229b19b2252a111707bae 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-08-08  Jonathan Wakely  <jwakely@redhat.com>
 
        Backport from mainline
index 18ee31882e12249454bde36f8b12dd5770367526..70ddda93f10b5f7def8ee3e6f33727203a89acc9 100644 (file)
@@ -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 ""