re PR libstdc++/32233 (warning in stl_vector.h:832)
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
This commit is contained in:
parent
d6b0b376ea
commit
266a2cbaec
@ -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>
|
||||
|
||||
|
@ -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,
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user