]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
all.cc: Pass -D_GLIBCXX_PROFILE_NO_THREADS for non-tls_native targets.
authorHans-Peter Nilsson <hp@axis.com>
Tue, 12 Jan 2010 05:24:12 +0000 (05:24 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Tue, 12 Jan 2010 05:24:12 +0000 (05:24 +0000)
* testsuite/ext/profile/all.cc: Pass -D_GLIBCXX_PROFILE_NO_THREADS
for non-tls_native targets.

From-SVN: r155829

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/ext/profile/all.cc

index 550d1838701c8990de05a9f4f57d399bb8607363..b7fc02a811ed4cf944c0806db97aab5eda68501d 100644 (file)
@@ -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.
index 0a1f97962085a6f71ce40a4b2710225a54e42f17..57a55cce61f77272ff90326130a78fe04e32a7f3 100644 (file)
@@ -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++ -*-