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
This commit is contained in:
Alan Lawrence 2015-03-25 15:46:58 +00:00 committed by Alan Lawrence
parent 01c0b3b076
commit 28fda0c459
2 changed files with 7 additions and 1 deletions

View 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

View 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