From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DA5523858C53; Tue, 6 Feb 2024 03:41:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DA5523858C53 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1707190886; bh=NhdSFjyUag5if0iK22dJG0VDCgEl9RGo9oL+kkrakTU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=f7/Yy8hVowV/C/b+cLyLn7V954oLOifM21QikdFHUzU/c4Xaoqr7tBR6yzRrmj10p A5jgHhfmgPwi+SrSfeoWG78Q2aZu0XwTulkpV65dq/cbtsQR3dSC5Ez74XJjIxMWgn TAFwUureCS2ulP0TvkAgb1hzk7MVDGnV/EzCRNJE= From: "cvs-commit at gcc dot 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:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107291 --- Comment #5 from GCC Commits --- The releases/gcc-13 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:67ac78caf31f7cb3202177e6428a46d829b70f23 commit r13-8285-g67ac78caf31f7cb3202177e6428a46d829b70f23 Author: Jason Merrill Date: Mon Feb 5 19:56:45 2024 -0500 c++: defaulted op=3D=3D 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 fri= end. gcc/testsuite/ChangeLog: * g++.dg/cpp2a/spaceship-eq17.C: New test. (cherry picked from commit c5d34912ad576be1ef19be92f7eabde54b9089eb)=