------- Comment #3 from paolo dot carlini at oracle dot com  2009-09-28 09:17 
-------
In any case, the code is invalid, try building (and then running) with
-D_GLIBCXX_DEBUG to see the problem. This way, for example, is fine:

 for (; it != mymap.end() ; /* it++ */)  {
   mymap.erase((*it++).first);
 }


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41480

Reply via email to