* [Bug c++/107291] [12/13 Regression] ICE in build_comparison_op, at cp/method.cc:1461
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 ` rguenth at gcc dot gnu.org
2022-10-17 11:35 ` rguenth at gcc dot gnu.org
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-10-17 11:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107291
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |error-recovery
Target Milestone|--- |12.3
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/107291] [12/13 Regression] ICE in build_comparison_op, at cp/method.cc:1461
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
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-10-17 11:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107291
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/107291] [12/13 Regression] ICE in build_comparison_op, at cp/method.cc:1461 since r12-4202-g09d886e671f2230a
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 ` marxin at gcc dot gnu.org
2023-05-08 12:25 ` [Bug c++/107291] [12/13/14 " rguenth at gcc dot gnu.org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-10-17 12:09 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107291
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org,
| |marxin at gcc dot gnu.org
Summary|[12/13 Regression] ICE in |[12/13 Regression] ICE in
|build_comparison_op, at |build_comparison_op, at
|cp/method.cc:1461 |cp/method.cc:1461 since
| |r12-4202-g09d886e671f2230a
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Likely started with r12-4202-g09d886e671f2230a.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/107291] [12/13/14 Regression] ICE in build_comparison_op, at cp/method.cc:1461 since r12-4202-g09d886e671f2230a
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
` (2 preceding siblings ...)
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 ` rguenth at gcc dot gnu.org
2023-07-28 6:42 ` pinskia at gcc dot gnu.org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-05-08 12:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107291
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|12.3 |12.4
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 12.3 is being released, retargeting bugs to GCC 12.4.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/107291] [12/13/14 Regression] ICE in build_comparison_op, at cp/method.cc:1461 since r12-4202-g09d886e671f2230a
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
` (3 preceding siblings ...)
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
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-07-28 6:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107291
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |stevenxia990430 at gmail dot com
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 110837 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/107291] [12/13/14 Regression] ICE in build_comparison_op, at cp/method.cc:1461 since r12-4202-g09d886e671f2230a
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
` (4 preceding siblings ...)
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
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jason at gcc dot gnu.org @ 2024-02-06 0:53 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107291
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu.org
Ever confirmed|0 |1
Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
Last reconfirmed| |2024-02-06
Status|UNCONFIRMED |ASSIGNED
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/107291] [12/13/14 Regression] ICE in build_comparison_op, at cp/method.cc:1461 since r12-4202-g09d886e671f2230a
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
` (5 preceding siblings ...)
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
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-02-06 2:29 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107291
--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Jason Merrill <jason@gcc.gnu.org>:
https://gcc.gnu.org/g:c5d34912ad576be1ef19be92f7eabde54b9089eb
commit r14-8817-gc5d34912ad576be1ef19be92f7eabde54b9089eb
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.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/107291] [12/13/14 Regression] ICE in build_comparison_op, at cp/method.cc:1461 since r12-4202-g09d886e671f2230a
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
` (6 preceding siblings ...)
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
2024-02-06 3:42 ` jason at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-02-06 3:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107291
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Jason Merrill
<jason@gcc.gnu.org>:
https://gcc.gnu.org/g:67ac78caf31f7cb3202177e6428a46d829b70f23
commit r13-8285-g67ac78caf31f7cb3202177e6428a46d829b70f23
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)
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/107291] [12/13/14 Regression] ICE in build_comparison_op, at cp/method.cc:1461 since r12-4202-g09d886e671f2230a
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
` (7 preceding siblings ...)
2024-02-06 3:41 ` cvs-commit at gcc dot gnu.org
@ 2024-02-06 3:41 ` cvs-commit at gcc dot gnu.org
2024-02-06 3:42 ` jason at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-02-06 3:41 UTC (permalink / raw)
To: gcc-bugs
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)
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/107291] [12/13/14 Regression] ICE in build_comparison_op, at cp/method.cc:1461 since r12-4202-g09d886e671f2230a
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
` (8 preceding siblings ...)
2024-02-06 3:41 ` cvs-commit at gcc dot gnu.org
@ 2024-02-06 3:42 ` jason at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: jason at gcc dot gnu.org @ 2024-02-06 3:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107291
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed for 12.4/13.3/14.
^ permalink raw reply [flat|nested] 11+ messages in thread