[Bug libstdc++/45990] 28_regex/07_traits/char/isctype.cc XPASSes on Solaris 2/IRIX 6
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Oct 12 20:13:00 GMT 2010
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45990
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2010-10-12 20:12:54 UTC ---
This is DR 1337
http://open-std.org/JTC1/SC22/WG21/docs/lwg-active.html#1337
Rainer, could you test this 1337 hax0r patch?
Index: include/bits/regex.h
===================================================================
--- include/bits/regex.h (revision 165394)
+++ include/bits/regex.h (working copy)
@@ -287,7 +287,7 @@ namespace std
const ctype<_Ch_type>& __ctype(use_facet<
ctype<_Ch_type> >(_M_locale));
- if (__ctype.is(__c, __f))
+ if (__ctype.is(__f, __c))
return true;
// special case of underscore in [[:w:]]
More information about the Gcc-bugs
mailing list