[Bug c++/92496] spaceship operator without include<compare> produces ICE
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Dec 13 05:06:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92496
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Dec 13 05:05:51 2019
New Revision: 279331
URL: https://gcc.gnu.org/viewcvs?rev=279331&root=gcc&view=rev
Log:
PR c++/92496 - ICE with <=> and no #include <compare>.
* typeck.c (cp_build_binary_op): Handle error from spaceship_type.
Added:
trunk/gcc/testsuite/g++.dg/cpp2a/spaceship-synth-neg3.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/typeck.c
More information about the Gcc-bugs
mailing list