aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2010-01-12 05:24:12 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2010-01-12 05:24:12 +0000
commitb1a54dd0523fe1104313b9d19897f24779dce5b7 (patch)
tree8100be6b2950ffa1d165e762d563584ee470b4c8
parent220fceaaa43bdb958d9b36b82b3ea1981fecb0fd (diff)
downloadgcc-b1a54dd0523fe1104313b9d19897f24779dce5b7.zip
gcc-b1a54dd0523fe1104313b9d19897f24779dce5b7.tar.gz
gcc-b1a54dd0523fe1104313b9d19897f24779dce5b7.tar.bz2
all.cc: Pass -D_GLIBCXX_PROFILE_NO_THREADS for non-tls_native targets.
* testsuite/ext/profile/all.cc: Pass -D_GLIBCXX_PROFILE_NO_THREADS for non-tls_native targets. From-SVN: r155829
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/testsuite/ext/profile/all.cc1
2 files changed, 6 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 550d183..b7fc02a 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2010-01-12 Hans-Peter Nilsson <hp@axis.com>
+
+ * testsuite/ext/profile/all.cc: Pass -D_GLIBCXX_PROFILE_NO_THREADS
+ for non-tls_native targets.
+
2010-01-12 Benjamin Kosnik <bkoz@redhat.com>
* scripts/run_doxygen: Correct nested scope on the man pages.
diff --git a/libstdc++-v3/testsuite/ext/profile/all.cc b/libstdc++-v3/testsuite/ext/profile/all.cc
index 0a1f979..57a55cc 100644
--- a/libstdc++-v3/testsuite/ext/profile/all.cc
+++ b/libstdc++-v3/testsuite/ext/profile/all.cc
@@ -1,4 +1,5 @@
// { dg-options "-std=gnu++0x -O0 -D_GLIBCXX_PROFILE" }
+// { dg-options "-std=gnu++0x -O0 -D_GLIBCXX_PROFILE -D_GLIBCXX_PROFILE_NO_THREADS" { target { ! tls_native } } }
// { dg-do compile }
// -*- C++ -*-