From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18428 invoked by alias); 12 Oct 2010 20:13:14 -0000 Received: (qmail 18411 invoked by uid 22791); 12 Oct 2010 20:13:12 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,MISSING_MID X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 12 Oct 2010 20:13:07 +0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/45990] 28_regex/07_traits/char/isctype.cc XPASSes on Solaris 2/IRIX 6 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Tue, 12 Oct 2010 20:13:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-10/txt/msg01026.txt.bz2 Message-ID: <20101012201300.ORsEfitmJ7QmyBEw2wdDg_6vWf6hdpumUU_cLjW9JGo@z> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45990 --- Comment #3 from Jonathan Wakely 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:]]