This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/31401] string find behaves strange when searching from npos
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Mar 2007 16:25:43 -0000
- Subject: [Bug libstdc++/31401] string find behaves strange when searching from npos
- References: <bug-31401-14338@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pcarlini at suse dot de 2007-03-30 17:25 -------
Yes, this is stupid bug, it's an unintended behavior caused by unsigned
overflow. Will be fixed before the end of the day, but isn't a regression, thus
only in 4_2-branch and mainline.
--
pcarlini at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pcarlini at suse dot de
|dot org |
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-03-30 17:25:41
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31401