On 9/30/21 10:03, Patrick Palka wrote:
We need to skip over vptr fields when synthesizing a defaulted
comparison operator.
Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look OK for
trunk/11?
OK.
PR c++/95567
gcc/cp/ChangeLog:
* method.c (build_comparison_op):
We need to skip over vptr fields when synthesizing a defaulted
comparison operator.
Bootstrapped and regtested on x86_64-pc-linux-gnu, does this look OK for
trunk/11?
PR c++/95567
gcc/cp/ChangeLog:
* method.c (build_comparison_op): Skip DECL_VIRTUAL_P fields.
gcc/testsuite/Chan