aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/interface.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2020-06-17 16:22:33 -0400
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 13:14:03 -0300
commitdb8a93d61142936da8126078bc3e95fb221e002c (patch)
tree513277f6baf900831580a841ca3524042e5dc68b /gcc/fortran/interface.c
parent3a7eb528563647cde968ee310eee8fe08cb7ae0b (diff)
downloadgcc-db8a93d61142936da8126078bc3e95fb221e002c.zip
gcc-db8a93d61142936da8126078bc3e95fb221e002c.tar.gz
gcc-db8a93d61142936da8126078bc3e95fb221e002c.tar.bz2
c++: More P2002 operator<=> refinements.
* Disallow && references. * Allow empty unions. * Improve diagnostics for a subobject comparison with non-comparison-category type. gcc/cp/ChangeLog: * method.c (early_check_defaulted_comparison): Check for &&. (build_comparison_op): Allow empty union. Diagnose non-category type. (common_comparison_type): Remove handling for non-category type. gcc/testsuite/ChangeLog: * g++.dg/cpp2a/spaceship-ref1.C: New test. * g++.dg/cpp2a/spaceship-synth-neg4.C: New test. * g++.dg/cpp2a/spaceship-union1.C: New test.
Diffstat (limited to 'gcc/fortran/interface.c')
0 files changed, 0 insertions, 0 deletions