diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2016-08-17 14:39:14 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2016-08-17 14:39:14 +0100 |
commit | 37144e84aaacf4b5fe10692b9c7c690fb47df224 (patch) | |
tree | a7aa725d227de077506a9b4e68f0155eb8e39635 | |
parent | 8fe79e73349eea80bdd37b6cc32cd6692d3ce0b5 (diff) | |
download | gcc-37144e84aaacf4b5fe10692b9c7c690fb47df224.zip gcc-37144e84aaacf4b5fe10692b9c7c690fb47df224.tar.gz gcc-37144e84aaacf4b5fe10692b9c7c690fb47df224.tar.bz2 |
Adjust DG directives in libstdc++ Profile Mode test
* testsuite/ext/profile/all.cc: Use effective target instead of
-std=gnu++11. Use dg-additional-options instead of repeating options.
From-SVN: r239536
-rw-r--r-- | libstdc++-v3/ChangeLog | 3 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/ext/profile/all.cc | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 8753299..50018de 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,8 @@ 2016-08-17 Jonathan Wakely <jwakely@redhat.com> + * testsuite/ext/profile/all.cc: Use effective target instead of + -std=gnu++11. Use dg-additional-options instead of repeating options. + * testsuite/20_util/bind/ref_neg.cc: Use effective target instead of -std=gnu++11. Add -fno-show-columns to dg-options. Use dg-prune-output instead of dg-excess-errors. diff --git a/libstdc++-v3/testsuite/ext/profile/all.cc b/libstdc++-v3/testsuite/ext/profile/all.cc index 17be8bc..c1eb440 100644 --- a/libstdc++-v3/testsuite/ext/profile/all.cc +++ b/libstdc++-v3/testsuite/ext/profile/all.cc @@ -1,6 +1,6 @@ -// { dg-options "-std=gnu++11 -O0" } -// { dg-options "-std=gnu++11 -O0 -D_GLIBCXX_PROFILE_NO_THREADS" { target { ! tls_native } } } -// { dg-do compile } +// { dg-options "-O0" } +// { dg-additional-options "-D_GLIBCXX_PROFILE_NO_THREADS" { target { ! tls_native } } } +// { dg-do compile { target c++11 } } // { dg-require-profile-mode "" } // -*- C++ -*- |