PR c++/92496 - ICE with <=> and no #include <compare>.
authorJason Merrill <jason@redhat.com>
Fri, 13 Dec 2019 05:05:51 +0000 (00:05 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 13 Dec 2019 05:05:51 +0000 (00:05 -0500)
commita1af2dd9c3a5f6b4885db739f6fc3d80ed80007a
tree1ba6cbab3fbf39561b0736e3375da640835ccfc3
parent0fec7ca1980a23a212790dee04fcf1f7e12d0417
PR c++/92496 - ICE with <=> and no #include <compare>.

* typeck.c (cp_build_binary_op): Handle error from spaceship_type.

From-SVN: r279331
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/g++.dg/cpp2a/spaceship-synth-neg3.C [new file with mode: 0644]