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++/107291] [12/13/14 Regression] ICE in build_comparison_op, at cp/method.cc:1461 since r12-4202-g09d886e671f2230a
Date: Tue, 06 Feb 2024 03:41:37 +0000	[thread overview]
Message-ID: <bug-107291-4-vWDJClhvJ7@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-107291-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by Jason Merrill
<jason@gcc.gnu.org>:

https://gcc.gnu.org/g:db8d5b0ad074344559b3201e567c1e47e65d0bdd

commit r12-10138-gdb8d5b0ad074344559b3201e567c1e47e65d0bdd
Author: Jason Merrill <jason@redhat.com>
Date:   Mon Feb 5 19:56:45 2024 -0500

    c++: defaulted op== for incomplete class [PR107291]

    After complaining about lack of friendship, we should not try to go on and
    define the defaulted comparison operator anyway.

            PR c++/107291

    gcc/cp/ChangeLog:

            * method.cc (early_check_defaulted_comparison): Fail if not friend.

    gcc/testsuite/ChangeLog:

            * g++.dg/cpp2a/spaceship-eq17.C: New test.

    (cherry picked from commit c5d34912ad576be1ef19be92f7eabde54b9089eb)

  parent reply	other threads:[~2024-02-06  3:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-17 11:17 [Bug c++/107291] New: [12/13 Regression] ICE in build_comparison_op, at cp/method.cc:1461 asolokha at gmx dot com
2022-10-17 11:34 ` [Bug c++/107291] " rguenth at gcc dot gnu.org
2022-10-17 11:35 ` rguenth at gcc dot gnu.org
2022-10-17 12:09 ` [Bug c++/107291] [12/13 Regression] ICE in build_comparison_op, at cp/method.cc:1461 since r12-4202-g09d886e671f2230a marxin at gcc dot gnu.org
2023-05-08 12:25 ` [Bug c++/107291] [12/13/14 " rguenth at gcc dot gnu.org
2023-07-28  6:42 ` pinskia at gcc dot gnu.org
2024-02-06  0:53 ` jason at gcc dot gnu.org
2024-02-06  2:29 ` cvs-commit at gcc dot gnu.org
2024-02-06  3:41 ` cvs-commit at gcc dot gnu.org
2024-02-06  3:41 ` cvs-commit at gcc dot gnu.org [this message]
2024-02-06  3:42 ` jason 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-107291-4-vWDJClhvJ7@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).