re PR libstdc++/33394 (Add test case for Thread race segfault in std::string::append...
authorAlan Lawrence <alan.lawrence@arm.com>
Wed, 25 Mar 2015 15:46:58 +0000 (15:46 +0000)
committerAlan Lawrence <alalaw01@gcc.gnu.org>
Wed, 25 Mar 2015 15:46:58 +0000 (15:46 +0000)
PR libstdc++/33394
* testsuite/21_strings/basic_string/pthread33394.cc: Use
dg-additional-options.

From-SVN: r221666

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/21_strings/basic_string/pthread33394.cc

index d4611b83b4c2951d86b1284323515792d7de8973..6793e9d39d6d19ce8e6bcfd3d52f72b191cec7aa 100644 (file)
@@ -1,3 +1,9 @@
+2015-03-25  Alan Lawrence  <alan.lawrence@arm.com>
+
+       PR libstdc++/33394
+       * testsuite/21_strings/basic_string/pthread33394.cc: Use
+       dg-additional-options.
+
 2015-03-25  Paolo Carlini  <paolo.carlini@oracle.com>
 
        PR libstdc++/65543
index c706504bd53a0359feb0baa47f3938778060480d..4674974f4e366a7da40053ee1d0feb4adb669dcb 100644 (file)
@@ -18,7 +18,7 @@
 // { dg-do run { target *-*-freebsd* *-*-dragonfly* *-*-netbsd* *-*-linux* *-*-gnu* *-*-solaris* *-*-cygwin *-*-darwin* } }
 // { dg-options "-pthread" { target *-*-freebsd* *-*-dragonfly* *-*-netbsd* *-*-linux* *-*-gnu* *-*-solaris* } }
 
-// { dg-options "-DITERATIONS=1000" { target simulator } }
+// { dg-additional-options "-DITERATIONS=1000" { target simulator } }
 #ifndef ITERATIONS
 #define ITERATIONS 50000
 #endif