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 c++/94583] [10 Regression] ICE in get_defaulted_eh_spec, at cp/method.c:2421
Date: Sat, 25 Apr 2020 04:17:39 +0000	[thread overview]
Message-ID: <bug-94583-4-ZBKXupma1q@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-94583-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jason Merrill <jason@gcc.gnu.org>:

https://gcc.gnu.org/g:352811870d7d7edcca109ef50822e26ca7ef2b36

commit r10-7957-g352811870d7d7edcca109ef50822e26ca7ef2b36
Author: Jason Merrill <jason@redhat.com>
Date:   Fri Apr 24 16:27:26 2020 -0400

    c++: implicit operator== with previous decl [PR94583]

    P2085 clarified that a defaulted comparison operator must be the first
    declaration of the function.  Rejecting that avoids the ICE trying to
    compare the noexcept-specifications.

    gcc/cp/ChangeLog
    2020-04-24  Jason Merrill  <jason@redhat.com>

            PR c++/94583
            * decl.c (redeclaration_error_message): Reject defaulted comparison
            operator that has been previously declared.

  parent reply	other threads:[~2020-04-25  4:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-13 19:35 [Bug c++/94583] New: " asolokha at gmx dot com
2020-04-13 23:27 ` [Bug c++/94583] " mpolacek at gcc dot gnu.org
2020-04-14  4:23 ` mpolacek at gcc dot gnu.org
2020-04-14  7:18 ` rguenth at gcc dot gnu.org
2020-04-20 13:55 ` rguenth at gcc dot gnu.org
2020-04-23 20:14 ` jason at gcc dot gnu.org
2020-04-25  4:17 ` cvs-commit at gcc dot gnu.org [this message]
2020-04-25  4:29 ` jason at gcc dot gnu.org
2020-04-28 18:38 ` cvs-commit 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-94583-4-ZBKXupma1q@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).