This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/15276] Erroneous Comparisons of Negative Characters
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 May 2004 19:14:24 -0000
- Subject: [Bug libstdc++/15276] Erroneous Comparisons of Negative Characters
- References: <20040504045136.15276.mckelvey@maskull.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pcarlini at suse dot de 2004-05-05 19:14 -------
> I think any reasoning based on a ghost consistency with C string
> is just going to make the issue messier and more confused.
Actually, if some sort of consistency with memcmp & co, that is the C library
functions for C strings and char arrays, is not a requirement, the issue is not
messy *at all*: you just give away some performance and implement the letter of
traits::compare in Table 37.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15276