Another patch tweaking directives, and replacing -std with an
effective target.
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.
Tested powerpc64le-linux, committed to trunk.
commit 1ad68a57c0ac214033949b16c38b04688845cb84
Author: Jonathan Wakely <jwak...@redhat.com>
Date: Wed Aug 17 13:22:17 2016 +0100
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.
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++ -*-