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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Dec 20 23:18:09 2019
New Revision: 279682

URL: https://gcc.gnu.org/viewcvs?rev=279682&root=gcc&view=rev
Log:
        PR c++/92973
        * method.c (early_check_defaulted_comparison): For C++17 and earlier
        diagnose defaulted comparison operators.

        * g++.dg/cpp0x/spaceship-eq1.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/spaceship-eq1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/method.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to