This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17639] ++ increment not working in std::string.insert
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Sep 2004 20:54:49 -0000
- Subject: [Bug c++/17639] ++ increment not working in std::string.insert
- References: <20040923203705.17639.barnarr@cc.wwu.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-23 20:54 -------
The code you posted is undefined, you are modifing i and also getting the value of i without a sequence
point inbetween them.
*** This bug has been marked as a duplicate of 11751 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
Summary|++ increment not working in |++ increment not working in
|std::string.insert |std::string.insert
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17639