public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/96851] operator< on std::array<T, N> does not work in constexpr, for sizeof(T) == 1, and N > 1
Date: Wed, 02 Sep 2020 09:08:46 +0000	[thread overview]
Message-ID: <bug-96851-4-lKDX3uhfJP@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-96851-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The instructions at https://gcc.gnu.org/bugs are clear about providing the
commands used to compile, please remember to state that you used -std=c++20 (a
godbolt URL is not sufficient).

The branch using memcmp shouldn't be used during constant evaluation, but it
also shouldn't be used for signed chars, so I'll fix that too.

  parent reply	other threads:[~2020-09-02  9:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-30 13:09 [Bug libstdc++/96851] New: " milasudril at gmail dot com
2020-08-30 13:15 ` [Bug libstdc++/96851] " milasudril at gmail dot com
2020-09-02  8:54 ` redi at gcc dot gnu.org
2020-09-02  9:08 ` redi at gcc dot gnu.org [this message]
2020-09-02 14:51 ` cvs-commit at gcc dot gnu.org
2020-09-02 15:17 ` milasudril at gmail dot com
2020-09-02 15:25 ` redi at gcc dot gnu.org
2020-09-02 15:42 ` cvs-commit at gcc dot gnu.org
2020-09-02 15:46 ` redi at gcc dot gnu.org
2021-07-12 11:14 ` 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-96851-4-lKDX3uhfJP@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).