diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2012-07-03 00:47:17 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2012-07-03 00:47:17 +0000 |
commit | d695f91575f13ec3c2392eb192155c835de38f59 (patch) | |
tree | 7f5c4b43c373eb9a4a34b99d15cc89adbbc88b1b /lto-plugin | |
parent | eeddef55da63241e585b6d83e4362c5846c847c5 (diff) | |
download | gcc-d695f91575f13ec3c2392eb192155c835de38f59.zip gcc-d695f91575f13ec3c2392eb192155c835de38f59.tar.gz gcc-d695f91575f13ec3c2392eb192155c835de38f59.tar.bz2 |
revert: re PR libstdc++/49561 ([C++0x] std::list::size complexity)
2012-07-02 Paolo Carlini <paolo.carlini@oracle.com>
Revert:
2011-10-04 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/49561
* include/bits/stl_list.h (_List_base<>::_List_impl::_M_size):
Add in C++0x mode.
(_List_base<>::_List_impl, _List_base<>::_M_get_node,
_List_base<>::_M_put_node, _List_base<>::_List_base(_List_base&&),
list<>::size, list<>::swap, list<>::splice): Use it.
(operator==(const list<>&, const list<>&)): Rewrite in C++0x mode.
* include/bits/list.tcc (list<>::erase): Likewise.
(list<>::merge): Adjust in C++0x mode.
* testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
Adjust dg-error line number.
* testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
Likewise.
* testsuite/23_containers/list/requirements/dr438/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/list/requirements/dr438/
constructor_2_neg.cc: Likewise.
From-SVN: r189185
Diffstat (limited to 'lto-plugin')
0 files changed, 0 insertions, 0 deletions