public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/101482] operator== for basic_string and __versa_string should check sizes first
Date: Thu, 16 Jun 2022 19:20:48 +0000	[thread overview]
Message-ID: <bug-101482-4-YGqcXP7HJL@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-101482-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101482

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <redi@gcc.gnu.org>:

https://gcc.gnu.org/g:51309d1158b85560a975819260776c0ca68fd142

commit r13-1138-g51309d1158b85560a975819260776c0ca68fd142
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Thu Jun 16 11:02:11 2022 +0100

    libstdc++: Apply r13-1096-g6abe341558abec change to vstring too [PR101482]

    As recently done for std::basic_string, __gnu_cxx::__versa_string
    equality comparisons can check lengths first for any character type and
    traits type, not only for std::char_traits<char>.

    libstdc++-v3/ChangeLog:

            PR libstdc++/101482
            * include/ext/vstring.h (operator==): Always check lengths
            before comparing.

  parent reply	other threads:[~2022-06-16 19:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-17  3:10 [Bug libstdc++/101482] New: The resolution of #32907 is too restricted de34 at live dot cn
2022-06-16  6:07 ` [Bug libstdc++/101482] " de34 at live dot cn
2022-06-16  9:47 ` [Bug libstdc++/101482] operator== for basic_string and __versa_string should check sizes first redi at gcc dot gnu.org
2022-06-16 19:20 ` cvs-commit at gcc dot gnu.org [this message]
2022-06-16 19:22 ` redi at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-101482-4-YGqcXP7HJL@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).