]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
chi2_quality.cc: Use C++0x mode on simulators.
authorBenjamin Kosnik <bkoz@redhat.com>
Tue, 1 Mar 2011 00:40:53 +0000 (00:40 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Tue, 1 Mar 2011 00:40:53 +0000 (00:40 +0000)
2011-02-28  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/20_util/hash/chi2_quality.cc: Use C++0x mode on simulators.
* testsuite/20_util/hash/quality.cc: Same.

From-SVN: r170584

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/20_util/hash/chi2_quality.cc
libstdc++-v3/testsuite/20_util/hash/quality.cc

index 16ee72899920a0e66aa683cb1dff1bbff93ac2ef..a6a290959fb739fd0a4747fc55fe688147868216 100644 (file)
@@ -1,3 +1,8 @@
+2011-02-28  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * testsuite/20_util/hash/chi2_quality.cc: Use C++0x mode on simulators.
+       * testsuite/20_util/hash/quality.cc: Same.
+
 2011-02-28  Paolo Carlini  <paolo.carlini@oracle.com>
 
        PR libstdc++/47921
index a105f4b45d004a75af87c4ac79f71f3e1c082b22..d626d829888e02b839f4445145e078ae04b61f6a 100644 (file)
@@ -1,6 +1,9 @@
 // { dg-options "-std=gnu++0x" }
 
-// Copyright (C) 2010 Free Software Foundation, Inc.
+// Use smaller statistics when running on simulators, so it takes less time.
+// { dg-options "-std=gnu++0x -DSAMPLES=10000" { target simulator } }
+
+// Copyright (C) 2010, 2011 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -48,8 +51,6 @@
 #include <vector>
 #include <testsuite_hooks.h>
 
-// Use smaller statistics when running on simulators, so it takes less time.
-// { dg-options "-DSAMPLES=10000" { target simulator } }
 #ifndef SAMPLES
 #define SAMPLES 300000
 #endif
index 8a6edac1687b8f6043043b3b8c0295ab5b1c23df..0bc2637241f982fff7da7c470b784d35a97be1e4 100644 (file)
@@ -1,6 +1,7 @@
 // { dg-options "-std=gnu++0x" }
+// { dg-options "-DNTESTS=1 -DNSTRINGS=100 -DSTRSIZE=21 -std=gnu++0x" { target simulator } }
 
-// Copyright (C) 2010 Free Software Foundation, Inc.
+// Copyright (C) 2010, 2011 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -26,7 +27,6 @@
 
 using namespace std;
 
-// { dg-options "-DNTESTS=1 -DNSTRINGS=100 -DSTRSIZE=21" { target simulator } }
 #ifndef NTESTS
 #define NTESTS 5
 #endif