This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/22591] [4.0 Regression] std::swap() followed by list::erase() produces incorrect list::begin()
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jul 2005 10:46:06 -0000
- Subject: [Bug c++/22591] [4.0 Regression] std::swap() followed by list::erase() produces incorrect list::begin()
- References: <20050721155650.22591.Simon.Finn@reify.co.uk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pcarlini at suse dot de 2005-07-22 10:46 -------
By the way, I confirm that cannot reproduce with current mainline, neither on
x86-linux nor x86_64-linux (default build options). I'm unsure whether we should
mark it as 'target' and 4.1 Regression too...
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|std::swap() followed by |[4.0 Regression] std::swap()
|list::erase() produces |followed by list::erase()
|incorrect list::begin() |produces incorrect
| |list::begin()
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22591