]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR libstdc++/32233 (warning in stl_vector.h:832)
authorPaolo Carlini <pcarlini@suse.de>
Wed, 6 Jun 2007 18:44:02 +0000 (18:44 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 6 Jun 2007 18:44:02 +0000 (18:44 +0000)
2007-06-06  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/32233
* include/bits/stl_vector.h (_M_fill_initialize): Fix return type.
* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
Adjust dg-error line.
* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
Likewise.

From-SVN: r125499

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_vector.h
libstdc++-v3/testsuite/23_containers/vector/requirements/dr438/assign_neg.cc
libstdc++-v3/testsuite/23_containers/vector/requirements/dr438/insert_neg.cc

index 14407afd32b68fb731e219f71520731d81dc1c31..3209524d919f887ea840fac001da34f54c801a04 100644 (file)
@@ -1,3 +1,12 @@
+2007-06-06  Paolo Carlini  <pcarlini@suse.de>
+
+       PR libstdc++/32233
+       * include/bits/stl_vector.h (_M_fill_initialize): Fix return type.
+       * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
+       Adjust dg-error line.
+       * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
+       Likewise.
+
 2007-06-06  Benjamin Kosnik  <bkoz@redhat.com>
            Frank Mori Hess  <frank.hess@nist.gov>
        
index f885f022a7d576bfc817e7406e28abaad5bbb10f..8d1049520c952a92537fec5bff6dc4d696a3bf45 100644 (file)
@@ -825,6 +825,7 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(std, _GLIBCXX_STD)
 
       // Called by the first initialize_dispatch above and by the
       // vector(n,value,a) constructor.
+      void
       _M_fill_initialize(size_type __n, const value_type& __value)
       {
        std::__uninitialized_fill_n_a(this->_M_impl._M_start, __n, __value, 
index f076afef0848b1c59c91b6e5e061e1f4baa0dc59..609511f07ce165bd1dba1d7d651dbc1727fe0edc 100644 (file)
@@ -19,7 +19,7 @@
 // USA.
 
 // { dg-do compile }
-// { dg-error "no matching" "" { target *-*-* } 846 }
+// { dg-error "no matching" "" { target *-*-* } 847 }
 // { dg-excess-errors "" }
 
 #include <vector>
index be39739f0059284b75d23c3452ab7d401f31418c..707776debc9cff0cec6edf18a82fdc4eb974ff46 100644 (file)
@@ -19,7 +19,7 @@
 // USA.
 
 // { dg-do compile }
-// { dg-error "no matching" "" { target *-*-* } 887 }
+// { dg-error "no matching" "" { target *-*-* } 888 }
 // { dg-excess-errors "" }
 
 #include <vector>