re PR libstdc++/66829 (FAIL: 23_containers/multiset/modifiers/erase/dr130-linkage...
authorJonathan Wakely <jwakely@redhat.com>
Wed, 29 Jul 2015 14:56:11 +0000 (15:56 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 29 Jul 2015 14:56:11 +0000 (15:56 +0100)
PR libstdc++/66829
* testsuite/lib/libstdc++.exp (v3-build_support): Compile
testsuite_shared.cc with -std=gnu++98.

From-SVN: r226354

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

index bf774bfba96da8a817b7a34d30d97661286c1e2f..98758f4186299102039cde38ed067790ef2f61b1 100644 (file)
@@ -1,3 +1,9 @@
+2015-07-29  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR libstdc++/66829
+       * testsuite/lib/libstdc++.exp (v3-build_support): Compile
+       testsuite_shared.cc with -std=gnu++98.
+
 2015-07-29  Ville Voutilainen  <ville.voutilainen@gmail.com>
 
        * include/bits/range_access.h: Change class to typename in every
index d60062d7130d5412a3a49c44614e62e64fdf16c9..88738b739f1623c11e56bba3a602a862521983c0 100644 (file)
@@ -668,7 +668,7 @@ proc v3-build_support { } {
            # Compile with "-w" so that warnings issued by the compiler
            # do not prevent compilation.
            if { [v3_target_compile $srcdir/util/$f $object_file "sharedlib" \
-            [list "incdir=$srcdir" "additional_flags=-fno-inline -w -shared -fPIC -DPIC"]]
+            [list "incdir=$srcdir" "additional_flags=-fno-inline -w -shared -fPIC -DPIC -std=gnu++98"]]
                 != "" } {
                error "could not compile $f"
            }