From: Alan Lawrence Date: Wed, 25 Mar 2015 15:46:58 +0000 (+0000) Subject: re PR libstdc++/33394 (Add test case for Thread race segfault in std::string::append... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=28fda0c459b684cac1b970fa28382f61fa9d446b;p=gcc.git re PR libstdc++/33394 (Add test case for Thread race segfault in std::string::append with -O and -s) PR libstdc++/33394 * testsuite/21_strings/basic_string/pthread33394.cc: Use dg-additional-options. From-SVN: r221666 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index d4611b83b4c..6793e9d39d6 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2015-03-25 Alan Lawrence + + PR libstdc++/33394 + * testsuite/21_strings/basic_string/pthread33394.cc: Use + dg-additional-options. + 2015-03-25 Paolo Carlini PR libstdc++/65543 diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/pthread33394.cc b/libstdc++-v3/testsuite/21_strings/basic_string/pthread33394.cc index c706504bd53..4674974f4e3 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/pthread33394.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/pthread33394.cc @@ -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