"the latest collection"
diff --git a/libstdc++-v3/doc/xml/api.xml b/libstdc++-v3/doc/xml/api.xml
index f7ecb7d1acc..c4c2f8f3f34 100644
--- a/libstdc++-v3/doc/xml/api.xml
+++ b/libstdc++-v3/doc/xml/api.xml
@@ -67,6 +67,12 @@ viewed online:
+
+
+ for the 4.4 release
+
+
+
"the latest collection"
diff --git a/libstdc++-v3/include/Makefile.am b/libstdc++-v3/include/Makefile.am
index 6b481ce3e07..1938b83bde9 100644
--- a/libstdc++-v3/include/Makefile.am
+++ b/libstdc++-v3/include/Makefile.am
@@ -831,7 +831,7 @@ pch1_source = ${glibcxx_srcdir}/include/precompiled/stdc++.h
pch1_output_builddir = ${host_builddir}/stdc++.h.gch
pch1_output_anchor = ${host_builddir}/stdc++.h
pch1_output_installdir = ${host_installdir}/stdc++.h.gch
-pch1a_output = ${pch1_output_builddir}/O0g.gch
+pch1a_output = ${pch1_output_builddir}/O2ggnu++0x.gch
pch1b_output = ${pch1_output_builddir}/O2g.gch
pch1_output = ${pch1a_output} ${pch1b_output}
@@ -1100,7 +1100,8 @@ ${host_builddir}/gthr-default.h: ${toplevel_srcdir}/gcc/${glibcxx_thread_h} \
# Build two precompiled C++ includes, stdc++.h.gch/*.gch
${pch1a_output}: ${allstamped} ${host_builddir}/c++config.h ${pch1_source}
-mkdir -p ${pch1_output_builddir}
- $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O0 -g ${pch1_source} -o $@
+ $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -g -std=gnu++0x ${pch1_source} \
+ -o $@
${pch1b_output}: ${allstamped} ${host_builddir}/c++config.h ${pch1_source}
-mkdir -p ${pch1_output_builddir}
diff --git a/libstdc++-v3/include/Makefile.in b/libstdc++-v3/include/Makefile.in
index c1ad2d3dd57..9f8782c5ea8 100644
--- a/libstdc++-v3/include/Makefile.in
+++ b/libstdc++-v3/include/Makefile.in
@@ -1078,7 +1078,7 @@ pch1_source = ${glibcxx_srcdir}/include/precompiled/stdc++.h
pch1_output_builddir = ${host_builddir}/stdc++.h.gch
pch1_output_anchor = ${host_builddir}/stdc++.h
pch1_output_installdir = ${host_installdir}/stdc++.h.gch
-pch1a_output = ${pch1_output_builddir}/O0g.gch
+pch1a_output = ${pch1_output_builddir}/O2ggnu++0x.gch
pch1b_output = ${pch1_output_builddir}/O2g.gch
pch1_output = ${pch1a_output} ${pch1b_output}
pch2_source = ${glibcxx_srcdir}/include/precompiled/stdtr1c++.h
@@ -1503,7 +1503,8 @@ ${host_builddir}/gthr-default.h: ${toplevel_srcdir}/gcc/${glibcxx_thread_h} \
# Build two precompiled C++ includes, stdc++.h.gch/*.gch
${pch1a_output}: ${allstamped} ${host_builddir}/c++config.h ${pch1_source}
-mkdir -p ${pch1_output_builddir}
- $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O0 -g ${pch1_source} -o $@
+ $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) -O2 -g -std=gnu++0x ${pch1_source} \
+ -o $@
${pch1b_output}: ${allstamped} ${host_builddir}/c++config.h ${pch1_source}
-mkdir -p ${pch1_output_builddir}
diff --git a/libstdc++-v3/include/bits/random.h b/libstdc++-v3/include/bits/random.h
index 55c7b5ad05c..5f725e78682 100644
--- a/libstdc++-v3/include/bits/random.h
+++ b/libstdc++-v3/include/bits/random.h
@@ -236,7 +236,7 @@ namespace std
/**
* @brief Reseeds the %linear_congruential_engine random number generator
- * engine sequence to the seed @g __s.
+ * engine sequence to the seed @p __s.
*
* @param __s The new seed.
*/
@@ -2368,7 +2368,7 @@ namespace std
* @brief A cauchy_distribution random number distribution.
*
* The formula for the normal probability mass function is
- * @f$ p(x|a,b) = \( \pi b \( 1 + \( \frac{x-a}{b} \)^2 \) \)^{-1} @f$
+ * @f$ p(x|a,b) = (\pi b (1 + (\frac{x-a}{b})^2))^{-1} @f$
*/
template
class cauchy_distribution
@@ -2522,8 +2522,8 @@ namespace std
*
* The formula for the normal probability mass function is
* @f$ p(x|m,n) = \frac{\Gamma((m+n)/2)}{\Gamma(m/2)\Gamma(n/2)}
- * \(\frac{m}{n}\)^{m/2} x^{(m/2)-1}
- * \( 1 + \frac{mx}{n} \)^{-(m+n)/2} @f$
+ * (\frac{m}{n})^{m/2} x^{(m/2)-1}
+ * (1 + \frac{mx}{n})^{-(m+n)/2} @f$
*/
template
class fisher_f_distribution
@@ -2677,7 +2677,7 @@ namespace std
*
* The formula for the normal probability mass function is
* @f$ p(x|n) = \frac{1}{\sqrt(n\pi)} \frac{\Gamma((n+1)/2)}{\Gamma(n/2)}
- * \( 1 + \frac{x^2}{n} \) ^{-(n+1)/2} @f$
+ * (1 + \frac{x^2}{n}) ^{-(n+1)/2} @f$
*/
template
class student_t_distribution
diff --git a/libstdc++-v3/include/precompiled/stdc++.h b/libstdc++-v3/include/precompiled/stdc++.h
index 33037300fd3..f07a5d40b9b 100644
--- a/libstdc++-v3/include/precompiled/stdc++.h
+++ b/libstdc++-v3/include/precompiled/stdc++.h
@@ -1,6 +1,6 @@
// C++ includes used for precompiling -*- C++ -*-
-// Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008
+// Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
@@ -56,6 +56,7 @@
#include
#include
#include
+#include
#include
#include
#include
@@ -100,11 +101,14 @@
#ifdef __GXX_EXPERIMENTAL_CXX0X__
#include
#include
+#include
#include
+#include
#include
#include
#include
#include
+#include
#include
#include
#include
diff --git a/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/operators/serialize.cc b/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/operators/serialize.cc
index c38d47a5d31..9a32d8a7f3a 100644
--- a/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/operators/serialize.cc
+++ b/libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/operators/serialize.cc
@@ -2,7 +2,7 @@
//
// 2008-12-05 Edward M. Smith-Rowland <3dw4rd@verizon.net>
//
-// Copyright (C) 2008 Free Software Foundation, Inc.
+// Copyright (C) 2008, 2009 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
@@ -33,10 +33,13 @@ test01()
bool test __attribute__((unused)) = true;
std::stringstream str;
+
+ typedef double value_type;
+ typedef std::piecewise_linear_distribution distribution_type;
std::vector x = {0.0, 1.0, 2.0, 3.0, 4.0, 5.0};
std::vector wt = {0.0, 1.0, 2.5, 1.5, 0.5, 0.0};
- std::piecewise_linear_distribution
- u(x.begin(), x.end(), wt.begin()), v;
+ distribution_type u(x.begin(), x.end(), wt.begin());
+ distribution_type v;
std::minstd_rand0 rng;
u(rng); // advance