diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2015-07-29 15:56:11 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2015-07-29 15:56:11 +0100 |
commit | 626b8d8a48e3e2064666f849c122d1cc955ce615 (patch) | |
tree | c0bcbec4992161a4a4792203bd6840af266f09cf | |
parent | c5ce61b0a5c554a003b99b250796ee6d0f782c54 (diff) | |
download | gcc-626b8d8a48e3e2064666f849c122d1cc955ce615.zip gcc-626b8d8a48e3e2064666f849c122d1cc955ce615.tar.gz gcc-626b8d8a48e3e2064666f849c122d1cc955ce615.tar.bz2 |
re PR libstdc++/66829 (FAIL: 23_containers/multiset/modifiers/erase/dr130-linkage-check.cc)
PR libstdc++/66829
* testsuite/lib/libstdc++.exp (v3-build_support): Compile
testsuite_shared.cc with -std=gnu++98.
From-SVN: r226354
-rw-r--r-- | libstdc++-v3/ChangeLog | 6 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/lib/libstdc++.exp | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index bf774bf..98758f4 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -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 diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp index d60062d..88738b7 100644 --- a/libstdc++-v3/testsuite/lib/libstdc++.exp +++ b/libstdc++-v3/testsuite/lib/libstdc++.exp @@ -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" } |