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 18:26:15 -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 18:26 -------
> Yep, you're right. I missed it. What a mess!
Indeed, in my opinion too *is* a mess!
Interestingly, the 1995 draft even *prescribed* using memcmp and wmemcmp: a nice
task for the historian would be reconstructing *why* that section was removed.
Personally, barring evidence to the contrary, I'm still convinced that whoever
wrote the compare entry in Table 37 *at least* didn't want to rule out using
memcmp and wmemcmp (on signed char platforms).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15276