[patch] Some testsuite cleanup
Jonathan Wakely
jwakely@redhat.com
Sun Jul 31 19:30:00 GMT 2016
On 28/07/16 22:06 +0100, Jonathan Wakely wrote:
>The dg-options for FreeBSD and Dragonfly should have included
>-std=gnu++11, or should have used dg-additional-options to add to,
>rather than override, the common dg-options.
>
> Use dg-additional-options in libstdc++ tests
> * testsuite/17_intro/headers/c++2011/stdc++.cc: Change target-specific
> dg-options to dg-additional-options so that default options are used.
> * testsuite/17_intro/headers/c++2011/stdc++_multiple_inclusion.cc:
> Likewise.
> * testsuite/17_intro/headers/c++2014/stdc++.cc: Likewise.
> * testsuite/17_intro/headers/c++2014/stdc++_multiple_inclusion.cc:
> Likewise.
> * testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc:
> Use dg-additional-options instead of repeating the common options.
That last test also needs to ensure optimization is used or the
scan-assembler check FAILs when --target_board=unix/-O0 is used.
Tested x86_64-linux, committed to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 1131 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20160731/00b87213/attachment.bin>
More information about the Libstdc++
mailing list