[PATCH] Replace unsupported effective-target with dg-options

Jonathan Wakely jwakely@redhat.com
Wed Nov 23 15:25:00 GMT 2016


I accidentally backported tests using { target c++11 } to the branch,
but that only works on trunk. One test was also using C++14-only
features, but is meant to be valid in C++11.

	* testsuite/24_iterators/reverse_iterator/71771.cc: Replace calls to
        C++14 std::rbeing and std::rend. Use dg-options instead of
        effective-target.
	* testsuite/27_io/headers/cstdio/functions_neg.cc: Likewise.
	* testsuite/experimental/numeric/77801.cc: Likewise.

Tested x86_64-linux, committed to gcc-6-branch.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 2447 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20161123/2b5da81e/attachment.bin>


More information about the Libstdc++ mailing list