* testsuite/ext/profile/all.cc: Pass -D_GLIBCXX_PROFILE_NO_THREADS
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Jan 2010 05:24:12 +0000 (05:24 +0000)
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Jan 2010 05:24:12 +0000 (05:24 +0000)
for non-tls_native targets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155829 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 550d183..b7fc02a 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 0a1f979..57a55cc 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++ -*-